Google Interview Question

Data structure question involving a 2D matrix of values.

Interview Answer

Anonymous

Dec 31, 2019

Solved with either an unordered_map or 3D array, to achieve linear runtime vs n^2