TweakCode
Recursion lessons
Loading editor…
Test casesRun to compare output
Input
matrix = [[1,4,7,11,15],[2,5,8,12,19],[3,6,9,16,22],[10,13,14,17,24],[18,21,23,26,30]], target = 5
Output
—
Expected
true

More practice

Same technique, different problems. Try them without the walkthrough.