companyhub
DashboardCompaniesProblemsSheetsBookmarksRevisionsAnalyticsLeaderboardCompare
Settings
Sign in
DashboardCompaniesProblemsSheetsBookmarks
Medium

Lowest Common Ancestor of a Binary Tree III

83.0% acceptance · asked by 10 companies

Solve on LeetCode
Hash TableTwo PointersTreeBinary Tree

Workspace

Scratch, run, iterate — then submit on LeetCode

Custom input (stdin)

Console

Output appears here. Runs on the free Piston sandbox.

Your notes

Sign in to keep markdown notes on this problem — approach, complexity, gotchas.

Who asks this

Meta88Linkedin63Mongodb63Amazon50Wix
50
Atlassian38
Microsoft38
Apple38
Yandex25
Google13

Related problems

Two Sum
Easy
LRU Cache
Medium
Longest Substring Without Repeating Characters
Medium
Group Anagrams
Medium
Top K Frequent Elements
Medium