Towers of Doom

Alice and Bob are famous for inventing weird games. They just invented a new game called Towers of D…

Click here to read the complete problem statement.


If you need help solving this problem, mention your approach and ask specific questions. Please avoid sharing your code and asking the Community to figure out “what’s wrong”.