2. Sort an array of 0’s, 1’s and 2’s
3. Majority Element (⌊n/2⌋ times)
4. Kadane’s Algorithm – Maximum Subarray Sum
5. Print subarray with maximum subarray sum (extended version of Kadane’s)
7. Rearrange the array in alternating positive and negative items
10. Longest Consecutive Sequence in an Array
12. Rotate Matrix by 90 Degrees