1. Sorting of array
- Partially sorted array
- Random element array
- Reverse order
- Finding kth largest or smallest element
- Sorted Arrays
- with known size
- linear search
- non-linear search or binary search etc.
- with unknown size
- Interpolation Search
- Cyclic Arrays / rotated arrays
- Unsorted Arrays
- Stream statistic max, min , average , median etc .
- Same as stream statistic but you know size in advance .
- Tracking max , min values - like find max diff between max and min in array
6. De-Duplication of elements
- remove dupes
- count dupes
7. Combinatorics
- Permutations
- Combinations
- possible sets operations
8. Sub-Sequence or subset
- Find subset with particular condition (like sum , product etc.)
9. String to char array interchangeable string problems
- If you see string as char array then those might fall in one of the above categories.
- String compression / de-compression
No comments:
Post a Comment