C3 AI Interview Question

rain tapping water problem, ways to reach stairs and another maximize equal number in array.