Prolucid interview question

2d Matrix parsing question made specific to their work.