Computer Science, asked by rajashekaryadav8630, 1 month ago

My Dictionary Nichil is assigned to create a coding challenge. He wasn't getting any idea of the coding challenge. Nikhil's brother was working on an excel sheet. Nikhil observed that Ms Excel columns have a pattern name like A, B, C...Z, AA, AB, AC, ... AZ, BA, BB. - ZZ, AAA, AAB. etc. In other words, column 1 is named as "A", column 2 as "8", so on.. column 27 as "AA") Nikchill framed the problem statement in the following manner : In General . A common dictionary has 26 Alphabets in the Sequenece (AZ) but Nikhil defines his own dictionary with certain set of alphabets (which follows the given sequence in the input), Now Glven a column number of MS Excel, find its corresponding partem name using Nikhil's dictionary. Input: Rist line contains a string denotes alphabets of Nikhils Dictlonary Second line contains a single integer t denoting number of testcases. Next t lines contains a Integer denoting column number​

Answers

Answered by aarosh783
0

please subscribe my yt channel - Ahnaf Arosh  

and whatch all the videos

Similar questions