Solve three DSA problems: trie, window, intervals | Oracle Interview Question