← All problemsSign in

Positions

Find the position of First Even number for the given row number in the following pattern. - Here are four rows of the pattern:here N=4 1 1 1 1 1 2 3 2 1 1 3 6 7 6 3 1 If you face difficulty understanding this pattern, please refer to the image in this link. The pattern is not getting properly displayed here. Input - First line contains a number T (number of test cases). - Each of the next

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