Problem | Hint | Solution |
---|---|---|
Fibonacci Number | simple recurrence , dp |
Go |
Reverse String | two-pointers |
Go |
Shuffle the Array | two-pointers , ad-hoc |
Go |
Valid Sudoku | ad-hoc |
Go |
Problem | Hint | Solution |
---|---|---|
Binary Search | binary search |
Go |
Maximum Count of Positive Integer and Negative Integer | binary search |
Go |
Problem | Hint | Solution |
---|---|---|
Remove Duplicate from Sorted Array | ad-hoc |
Python |
Move Zeros | ad-hoc |
Python |
Rotate Array | ad-hoc |
Python |
Count Pairs Whose Sum is Less Than Target | binary search , math |
Python |
Problem | Hint | Solution |
---|---|---|
Are There Duplicates in Array? | ad-hoc |
Python |
Maximum Triplet Product | math , brute-force |
Python |
Rotate Matrix 90 Degrees | ad-hoc |
Python |
Search Word in Matrix | graph |
Python |