Java · 2D arrays, searching and sorting
Before you can make a search faster, you need to count how much work the plain one does.