First tried the greedy approach done one submission wrong, then realized the correct approach but yes the question was absolutely good , give good brainstorming.  #100daysofcoding #DSA
#100daysofcoding #DSA