Persistent Systems Interview Question

Medium level coding questions based on Sorting , dynamic programming , greedy approach