Razorpay interview question

They asked dsa medium question based on greedy alogrithm.

Interview Answer

Anonymous

25 May 2025

Started with bruteforce ,then moved to optimisation.