Unthinkable interview question

A tough stack and queue problem. Modified version of LC-42 Trapping Rainwater

Interview Answer

Anonymous

12 Jul 2024

Used stack and greedy