Grokking the Coding Interview: Patterns for Coding Questions
Ask Author
Back to course home

0% completed

Vote For New Content
Simplest soluiton using recursion

Santosh Vaza

Aug 5, 2023

Check the solution here.

0

1

Comments
Comments
Adebowale Oduyemi
Adebowale Oduyemi2 years ago

c#

Kaijie Fu
Kaijie Fua year ago

I don't think it's constant space, recursion is based on stack.

On this page