Leaderboard
Showing:
Pattern-1
Basic Accuracy: 39.56% Submissions: 4112 Points: 1

Pattern would look like this if, N=6
 ABCDEF
 G$$$$H
 I$$$$J
 K$$$$L
 M$$$$N
 OPQRST

Input:
First line consists of T test cases. Only line of every test case consists of an integer N.

Output:
Print the following pattern.

Constraints:
1<=T<=6
1<=N<=6

Example:
Input:

1
6
Output:
ABCDEF
G$$$$H
I$$$$J
K$$$$L
M$$$$N 
OPQRST

to report an issue on this page.

Editorial

We strongly recommend solving this problem on your own before viewing its editorial. Do you still want to view the editorial?

Yes

All Submissions

My Submissions:

Login to access your submissions.

Pattern-1

Output Window