LeetCode Question · Sep 2021

Find the number of nodes on the longest distinct path that starts at the root in a binary tree.

1,402 views 3 replies

Question Details

Hello Everyone, I saw follwoing question in the MSFT OTS thread "Find the number of nodes on the longest distinct path that starts at the root in a binary tree." I...

Full Details

🔒

Unlock all Microsoft questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a microsoft interview for a swe role during the oa round reported in 2021.

It covers the following topics: Binary Tree, Concurrency .