← All problemsSign in

John love

John is back again with the new pattern as we all know John loves patterns too much. If he found any pattern interesting he starts performing different operations on that pattern like minimizing and maximizing its length. he found out below pattern interesting so help him to adjust its size according to his requirements. ### Input Input a variable l and b which denotes the length and breadth of t

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