328 likes
·
5.2K reads
23 comments
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
I'm glad you liked it and found it useful. I agree that sharing the knowledge we carry is something that has the capacity to move worlds. Therefore, I do it as often as I can.
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.
It will help you for sure. Give it a try and let me know how it goes.
This is super insightful! Thanks for sharing Alberto Gonzalez!
My pleasure
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!!
You know someone actually reads your article when they answer your questions in it. Thank you, for reading and answering!
I plan on making an article explaining some interesting and non-conventional usages of binary search. Let me know if it sounds like a good idea.
Alberto Gonzalez Sounds super exiting go a head
Awesome read! Thanks for sharing!
Glad you enjoyed it ❤️
This is such an unusual approach to debugging and it's so great. Thanks for sharing man
You are welcome!
I'm planning on creating an extended version of this article with an approach that supports solutions in different programming languages. Let me know if it seems like a good idea.
Also, it would be great to do it as a community, so feel free to reach me on github if you want to collaborate with this: github.com/albexl
Great content!
Thanks teammate!
GOOD
THANKS
Great Article!!!
Glad you enjoyed it ❤
This is one of the best articles I have read in some time, brings me back to the TC days.
Glad you enjoyed it.
I made part II which is a little bit more technical. You can read it here: albexl.hashnode.dev/a-tale-of-debugging-th…
It is about taking this approach to a whole new level by making an actual tool to stress test solutions.
It would be great to have your feedback about it too.
thank you for sharing the knowledge♥