Maximize Nonadjacent Value Selection on a Binary Tree
Company: Amazon
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Other
Overview: Maximize Nonadjacent Value Selection on a Binary Tree. Choose tree nodes maximizing their total value, with no directly linked parent and child both chosen. Return the maximum sum through the original TreeNode* root