I am not able to proceed further in the pattern mountain question, please make the changes in my code, it would be a great help for me
Can't proceed further
hey @aatmictiwari19 i have completed your code and now it is giving the correct result.
one way of doing and learn every pattern question is to analyze the question with the help of the matrix ,you will be able to analyze the relation .
if you feel that your doubt is cleared please mark this doubt as resolved .
Happy Learning !!
I understand till the space part but after that having doubt in printing the second triangle ,and also can you tell how to understand pattern problems by matrix relation
hey @aatmictiwari19
try to make the full matrix of n*n square grid and then where you need * put star there and space at place of space and empty where you dont have to do anything .
in this way you can find the relationshio for how many times you have to print space and what is relation coming out between the number of spaces in every row .
this you will learn by practice only .
Happy Learning !!
please mark this as resolved if you feel that your doubt is cleared .