This video is a solution to Coin Piles from the CSES problem set. I explain the question, go over the logic / theory behind solving the question and then solve it using C++.
Comment below if you have a better solution to this problem!
Let me know if you have any feedback and don't forget to subscribe for more videos!
Code: https://pastebin.pl/view/68f4bc36
Time stamps:
1:07 Question explained
2:31 Solution explained
4:59 C++ code
More questions solved:
• Add and Search Word - Data structure desig...