NamasteScale needs JavaScript to run. Enable it to practise system design, low level design and machine coding.
Count the nodes on the longest root-to-leaf path.