about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-03-10T15·01+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-03-10T15·01+0000
commit452a8fd4c7d8eff165587b8b7dbbc9eedd10b2e5 (patch)
treef78842983e56be4a3dbae217c7990b2ead8b3f3e /configs
parentd408915cfdf7c9012e777e7212319d4fad049259 (diff)
WIP: Partially solve InterviewCake's find duplicate number
Write a function that finds one duplicate number from a list of numbers 1..n.

The function should satisfy the following performance objectives:
Runtime complexity: O(n*log(n))
Space complexity:   O(1)
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions