Subtree Inversion Sum

hardSolve on LeetCodeLast edited: July 26, 2025