Pattern Finding
CodeChefOpen on judge ↗
You are given one number $N$ you have to print pattern as shown in example. ###Input: - First line of input is number of test Case $T$ $(1 \le T \le 100)$. - Next $T$ line is contain Number $N$ for which you have to print pattern. $(1 \le N \le 1000)$ - Sum of $N$ over all testcase is less than $2000$. ###Output: - For all test case print pattern with given $N$. ###Constraints
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