Leetcode 3585. Find Weighted Median Node in Tree | Hello Interview