LeetCode
Question
·
Jun 2020
·
Los Angeles
Facebook | Phone | Minimum Edits for a Binary Tree
65 upvotes
11,692 views
44 replies
Question Details
Given a binary tree, return the minimum number of edits to make the value of each node equal to the average of its direct children\'s. Note that you can only...
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Binary Tree
Recursion
Behavioral
More from Meta
Reddit
Leetcode is cooked in 2026 and we don't hire people who only grind leetcode.
Reddit
Returning to SWE work after 3 years of cancer treatment
Reddit
2026 New Grad Recap
Reddit
Most likely failed meta phone screen
Reddit
Targeting OpenAI SWE Roles? Insights on what to expect from recent system design loops