Google Interview Question

The first interview was about a matrix traversal and the second was a dynamic programming question.