sol: https://ide.codingblocks.com/s/388447
prob: https://hack.codingblocks.com/app/contests/1975/558/problem
Few test cases failing
thanks, why wasn’t it working before?
Your loop was incorrect, n was varying. So I just checked for all values from 97 to 122(ascii values of lowercase)