Microsoft Interview Question

Two problem solving problems. The first one was on 2D arrays and the second one was on Linked list.