← All problemsSign in

Special Number Finding from a 2-D Matrix

Two friends, Bob and John meet after a long time and they start playing one of their favourite games. Bob has been given a matrix of size $m*n$, where $m$ presents the number of rows starting with index 0 and $n$ refers to the number of columns starting with index 0. This matrix contains distinct positive integers as elements. Now, the task for John is to identify a special number of positional e

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start