Java · 2D arrays, searching and sorting
Real programs sort with one library call, and knowing what that call does keeps you from searching an array it never touched.