• + 0 comments

    This problem is a fab salary check on your skills in tree traversal and query optimization. Loved how the subtree salaries were managed using DFS and sorted queries—smart and scalable approach!