Example :
Pattern for N = 3
A
BB
CCC
The first line of input contains an integer ‘T,’ denoting the number of test cases. The test cases follow.
The first line of each test case contains a single integer ‘N’, given to Ninja and his cousins.
For each test case, print every row in a new line (row elements not separated by space)
Print the output of each test case in a separate line.
You are not required to print the expected output; it has already been taken care of. Just implement the function.
1 <= T <= 50
1 <= N <= 26
Time Limit: 1 sec
The steps are as follows:
Print Name
Print Name
Print Name
Print Name
Print Name
Matrix Boundary Traversal
Star Triangle
Count Repeating Digits
Inverted Left Half Pyramid