This video is a solution to Two Knights 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/a9e85804
Time stamps:
0:00 Question explained
2:31 Solution explained
13:56 C++ code
More questions solved:
• Add and Search Word - Data structure desig...