Bluebeam interview question

Seriously, study your data structures and algorithms.