Two pointers, Sliding window, Binary Search, Merge Intervals, Top K elements. Solution in (Java & Python)