We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Algorithms
- Search
- Missing Numbers
- Discussions
Missing Numbers
Missing Numbers
Sort by
recency
|
1252 Discussions
|
Please Login in order to post a comment
Most simple solution that i could think of: def missingNumbers(arr, brr): for item in arr: if brr.contains(item): brr.remove(item) brr = sorted(set(brr),key = int) return brr
Time Complexity =
Python 3 Solution
Kotlin