Meesho interview question

Q1. Given a tree, node 1 and node 2 where node1 and node2 are at same level. Find out maximum possible nodes in between the given node1 and node2. Q2. Given a binary array. Find out the maximum subarray with equal number of 0's and 1's Design Round: Design a NewsFeed System.