Search a 2D Matrix, four ways

Try:
CALL
1 / 1

Code

The highlighted line runs next. The pill shows the live values in the running call.

Cost

Work done so far, and how the four solutions compare

Matrix

Faded cells are ruled out

Keyboard: ← → step, Space play or pause. Write the matrix as rows separated by ";" (for example 1 2 4; 10 11 12) or paste the JSON; up to 6 × 6, values −99 to 99, each row sorted and starting above the previous row's last value.