I wrote a post to list all my practices. Here is the post.
Oct. 18, 2018
It is time for me to list all my practice starting from 2015. I like to practice more on this algorithm, and then improve my performance in terms of problem solving.
2015 practice - straightforward solution, time consuming and prone to write buggy code. Here is the link.
2018 practice - using extra space to mark visit, and then ask code review on stackexchange. Here is the link.
2018 pratice - took the advice from code review on stackexchange.com, using optimal space O(1), no extra array to mark visit. Here is the link.
2019 practice - warmup the practice.
No comments:
Post a Comment