Alberto Gonzalez
Software Developer at doWhile | Computer Scientist | ICPC World Finalist | EN | ES
Coming from a five-year Competitive Programming journey, I have faced the process of debugging on numerous occasions. In this article, I will try to describe how the debugging method works in such environments, instead of depicting it in the regular ...
albexl.hashnode.dev12 min read
This is one of the best articles I have read in some time, brings me back to the TC days.
This is such an unusual approach to debugging and it's so great. Thanks for sharing man
Excellent write-up and too useful! Thanks for sharing it with the community. I have bookmarked it for reference and will let you know about my experience by applying it. This post is relatable to me because of the language used, i.e Python. Being a competitive coding enthusiast, I hope that this trick will help me to speed up my debugging process.
I know that something happen inside a computer while we practice coding in the leetcode and hacker rank but this explanation is next level. Thank you Alberto such a great explanation !!!
The problem with the first approach is it is giving you the expected value index but not which where it first appear so that's why we introducing the variable to keep the track of the index if duplicates exist!!
When you told me about the idea you had, I thought it was excellent, but seeing it written exceeded all my expectations. Articles like this confirm the wisdom of sharing knowledge, many people throughout the world encounter these problems every day, and here you show them an alternative solution
Mahmoud Eid
Software Engineer
thank you for sharing the knowledge♥