LeetCode Question · Sep 2023

Tree Question Asked in Uber OA

361 views 3 replies

Question Details

Given a healthy tree with N nodes rooted at node 1 and each node having some number of fruits attached to it. In one operation you can collect all the...

Full Details

🔒

Unlock all Uber 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 uber interview for a swe role during the oa round reported in 2023.

It covers the following topics: Arrays, Binary Tree .