leetcode_gym/_code/interviews/missingAndDuplicate.py
2026-08-25 19:14:07 -06:00

11 lines
153 B
Python

a = [6, 5, 4, 2, 6]
# 1 . continuous integers randomly sorted
# 2. min, max
# 3. missing -> 3
# 4. duplicate -> 6
Q: are we given min and max?
for i