Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 40121

MIXFLVOR: Supporting Deleting latest-added element onwards. Can someone please explain it?

$
0
0

I have understood the 2 lemmas in the editorial: https://discuss.codechef.com/questions/91508/mixflvor-editorial I am not able to understand why the setter wants to use 2 stacks in the first place and what exactly he does with those two stacks. Could someone please explain the editorial after the 2 lemmas part.Also, would it be possible to solve it just by keeping a start and stop pointer without any stack and still get AC?


Viewing all articles
Browse latest Browse all 40121

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>