โ† OLA questions

Find distance between two nodes in a binary tree

Filed under OLA

The question

Find the shortest distance (number of edges) between two given nodes in a binary tree.

No write-up yet. Related questions below have one.

Related OLA questions

Collected from public candidate posts and coding forums. Updated Nov 2026.