0571-0580 571. Find Median Given Frequency of Numbers $\star\star\star$ 572. Subtree of Another Tree $\star$ 573. Squirrel Simulation $\star\star$ 574. Winning Candidate $\star\star$ 575. Distribute Candies $\star$ 576. Out of Boundary Paths $\star\star$ 577. Employee Bonus $\star$ 578. Get Highest Answer Rate Question $\star\star$ 579. Find Cumulative Salary of an Employee $\star\star\star$ 580. Count Student Number in Departments $\star\star$