-
Reverse of an array or string
Reverse of an array or string using recursion -
Maximum and minimum of an array using minimum number of comparisons
-
Kadane's Algorithm (Largest Sum Contiguous Subarray also store indices)
-
Kadane's Algorithm (Largest Sum Contiguous Subarray also store indices)
-
Three way partitioning of an array around a given value (Dutch National Flag based QuickSort)
-
Minimum swaps required bring elements less or equal to K together
-
Find minimum number of merge operations to make an array palindrome