Java · 2D arrays, searching and sorting

Linear search

Before you can make a search faster, you need to count how much work the plain one does.