Pergunta de entrevista da empresa D. E. Shaw India

2 coding questions based on greedy algorithms.