Company: Flipkart_3aug
Difficulty: medium
Spiral Alphabetical Titans Problem Description A set of students want to play this game called 'Spiral Alphabetical Titans' in a game fair. The instructions on how to play this game are given below: I) You are given two integers M and N, where M x M is the size of the larger square matrix, MAT, and N can be completely divided into multiple smaller square matrices of order N each. II) Create a larger matrix, MAT of order M x M and it is first divided into smaller square matrices of size N x N each. III) Each smaller matrices are filled with alphabets (A to Z) starting from the middle in an anticlockwise direction, i.e. in a spiral form. The smaller matrices are also filled starting from the middle matrix in an anticlockwise direction. Notes: I) If 'Z' is reached, the filling is started from A again. II) If there is no middle, bottom-left is considered. Write a program to print the resultant matrix obtained by playing the game of "Spiral Alphabetical Titans" for the given values of M and