This Section contains competitive coding form different different coding plateform...
S.No | Title | Solution | Time | Space | Difficulty |
---|---|---|---|---|---|
1 | Two Sum | source | O(n) | O(n) | Easy |
2 | Contains Duplicate | source | O(n) | O(1) | Easy |
3 | Missing Number | souece | O(n) | O(1) | Easy |
4 | Find All Numbers Disappeared in an Array | source | O(n) | O(n) | Easy |
5 | Two Sum II - Input array is sorted | source | O(n) | O(n) | Easy |
6 | Remove Duplicates from Sorted Array | source | O(n) | O(n) | Easy |
7 | Remove element | source | O(n) | O(n) | Easy |
8 | Search Insert Position | source | O(n) | O(n) | Easy |
9 | Maximum Subarray | source | O(n) | O(n) | Easy |