I want someone to explain the algorithm clearly for zco question no 2 and explain me how does algorithm give answer to this input. U re allowed to make 1 change 12 cakes,5 children 0 based indexing The ranges are [1,2],[3,4],[0,4],[10,11]. Please also give a note about time complexity. Sry I couldn't completely understand the algorithm given in other thread zco discussion. Link to questionhttps://www.commonlounge.com/discussion/7ca7510fa3ad4ac6b07ea0fe2127db73/main The cake one
↧