[ previous | index | next ]


Guaranteed asymptotic space complexity

Proper tail recursion

Not a real problem because

We use tail. modifier for all calls, including non-tail calls.