Best way to think about this problem

Tags: #<Tag:0x00007f18226a6c88>


Try to think this question as a number system design problem. Like in Binary we have two character ‘0’ & ‘1’ , in octal we have eight character ‘0’ … ‘7’ similarly design a number system with base 26 with 26 characters ‘A’…‘Z’.
Advice :- be cautious about the multiple of 26 they may result in some undesirable result if don,t handled properly…
Happy Programming…