NamasteScale needs JavaScript to run. Enable it to practise system design, low level design and machine coding.
Deepest node that has both p and q below it.