How I DEBUG my code in Competitive Programming || C++ || Basic to Advanced
Priyansh Agarwal
0:00 / 0:00
How I DEBUG my code in Competitive Programming || C++ || Basic to Advanced
58 388 просмотров · 5 л. назад
Priyansh Agarwal
83,1 тыс. подписчиков
58 388 просмотров · 5 л. назад
After a lot of requests for this video, I have finally decided to get this done and dusted. I know you all wanted this desperately and I am sorry for delaying it for such a long time. I had been really sick with 2 of my family members having COVID. I hope you all like this video and from now on will be able to debug your code much faster in any online programming contest.
Link to code: https://github.com/Priyansh19077/YouT...
Here are the timestamps:
0:00 Introduction and Motivation for this video
2:16 Debugging a simple variable
5:26 Preventing debugging statements from spoiling my actual submission.
8:02 Debugging a vector of type int
11:19 Debugging a vector along with primitive types
12:36 Debugging a generic vector
14:21 Idea to debug any data structure
15:36 Explaining how my template works with this setup