This video is a solution to StickLengths from the CSES problem set. I explain the question, go over the logic / theory behind solving the question and then solve it using Python. This video goes through each step and how a final solution can be approached.
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.com/zd5Xnx3t
Time stamps:
0:00 Question explained
1:11 Solution explained
9:49 C++ code
More questions solved:
• Add and Search Word - Data structure ...