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

0% completed

Vote For New Content
Nice solution but I couldn't see the need for currentLevel, surely you can just ...

Peter

Sep 25, 2022

Nice solution but I couldn't see the need for currentLevel, surely you can just append straight to result? Maybe this is used for later examples where averages etc. are performed.

0

0

Comments
Comments

On this page