2 ms·
I was going to write something similar. Regardless, the comment I replied to is fundamentally confused (presented a tail recursive algorithm and said it didn't
by Jtsummers 2y ago
I was going to write something similar.
Regardless, the comment I replied to is fundamentally confused (presented a tail recursive algorithm and said it didn't have tail calls, presented a linear algorithm that uses a linear amount of memory and claims it's O(n log n) for some reason but no clarification if it's in time or space). I'd rather hear from the person I responded to than whatever guesses the rest of us can come up with because it needs several points of clarification to be understood.