from Hacker News

Show HN: Codelapse.com

by itroot on 11/5/19, 11:57 AM with 10 comments

  • by itroot on 11/5/19, 12:04 PM

    Hey, HN!

    I think that visualizing interview algorithms in that way can help lot of people to understand them, to form a "gut feeling" what's going on. What do you think?

    This particular example, linked list reversal, is a "medium" interview question, but I've seen many times people failing it. When I solve this question by myself I always imagine this pointers, how they act and so on, and this visualization - it's what's going in my head. I really think that putting it on the list and animating it helps people to form long-term understanding.

    What do you think?

  • by algodaily on 11/5/19, 2:38 PM

    Very cool! This is a feature I've partially added to AlgoDaily[1], but your implementation is a much more clean and intuitive IMO.

    I assume this works the same as pythontutor.com by executing a code snippet through a debugger and playing back the execution trace. Is each code snippet custom created, or do you have a tool that generates these visuals?

    [1] https://algodaily.com/challenges/reverse-a-linked-list