The list holds n distinct numbers from 0..n with one missing. Return the missing one.
Write missing_number(nums).
Starter:
def missing_number(nums):
# TODO
pass
Solve it interactively in your browser (no setup), check your answer instantly, and keep your daily streak going on IWTLP: https://iwtlp.com/challenge
Top comments (0)