a hint for those pl,getting BAQUZ, consider case when u get a%26==0,instead of use 0,use it as 26,and decrease the num by 26,like a=a-26;,hope understands.

# A hint for those pl,,getting BAQUZ,,, consider case when u get a%26==0,,instead o

**n-v-r-srikar**#3

eg: 52 = 26(2)+0 ideally the answer should be B0

since 0 is not valid we are shifting 26 from left hand side which is equivalent to 26(1) +26 => AZ

if you donâ€™t subtract 26 answer will be BZ which corresponds to 78

eg: 52 = 26(2)+0 ideally the answer should be B0

since 0 is not valid we are shifting 26 from left hand side which is equivalent to 26(1) +26 => AZ

if you donâ€™t subtract 26 answer will be BZ which corresponds to (26^1)*2+(26^0)*0 =52 <<<----(U Explain wrong)