plz give solution of this cod
Stuck in problem therfore give the solution
hello @mohitenikhil888
1 1
1 2 2 1
1 2 3 3 2 1
1 2 3 4 3 2 1
note following things in pattern
a) every row has some number in starting then some space and then gain some numbers
b) starting part of each rows contains number in increasing order, starting from 1
c) ending part of row conatins number in decrrasing order , starting from row number and decreasing till 1.
d) only in the last row two both increasing and decreasing series intersect .
so handle it seprately.
check this->
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.