Merge Two Sorted Arrays
Merge two sorted arrays into a single sorted array in-place
Move All Zeros to the End
Move all zeros in an array to the end while maintaining the relative order of non-zero elements
Reverse an Array
Reverse the order of elements in an array in-place and return the modified array
Reverse String
Reverse a string in-place using O(1) extra memory.
Rotate Array by K Steps
Rotate an array to the right by k steps where k is non-negative
String Compression
Compress a string by replacing consecutive characters with character and count.