News for hackers. Stuff that matters.
Re:Bob Lee, Former CTO Square, Creator of CashApp, Stabbed t... by bdwedding on Wednesday April 05, 2023 @05:21PM (#35460535)
I ported his code to C++, the linked list version and the other recursive version. Then I removed the recursion. For me, the linked list is 2X slower and the non-recursive version using a stack is slightly faster than his original version.

https://gist.github.com/bwedding/19c1bd0e967cfb62084fabdd6bf...

There are no comments on this comment yet.