BOX INSIDE ANOTHER BOX
CodeChefOpen on judge ↗
Given a Matrix of size $N X N$ you have to reach the middle point of the matrix by breaking all the boundaries from any one point i.e. *any no on (i,j) of boundary* or the perimeter in one box. If you break any one element on a boundary then you can directly go to the next inner boundary or inner box then you have to break this box and further move in until you have reached the middle of the squa
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.
Sign in to chat with the tutor and save your progress.
Sign in to start