When running leetcode, I noticed that this code:
while(row !=size && col >= 0) { int curr = matrix[row][col]; if (curr