Amazon Interview Question

round 1 : ques 1: https://leetcode.com/problems/evaluate-division/ round 2: ques 1: topological sort ques 2: given a tree with nodes of two colours black and red find the subtree with equal numbers of red and black nodes