Credit Karma interview question

How to navigate a 3D matrix