Matrix Design
CodeChefOpen on judge ↗
You are given a number $N$. You have to make a $N$ ∗ $N$ matrix and store the values in the matrix by finding a pattern using the following examples: #####Input:- $N$ = 1 ####Matrix = $1$ #####Input:- $N$ = 2 ####Matrix = $1$ $2$ $6$ $24$ #####Input:- $N$ = 3 ####Matrix = $1$ $2$ $24$ $6$ $120$ $5040$ $720$ $40320$ $3628
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