Level: Senior
Education: Masters
Years of Experience: 8
Questions Asked:
Q1: Diagonal Traverse – Given an m x n matrix, return elements in diagonal order.
Q2: Not code, but discussion: Design a function that returns a random city where probability is proportional to population. Needs to be optimized for speed since it’s called millions of times.