Infosys Interview Question

Coding questions based on Greedy algorithms and Dynamic programming