We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
wouldnt s[i]-'a' is same as s[i]-'A'??
In that case, why do we need two separate arrays one for capital and one for lower case? Anyway for panagram, both are counted the same..
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Pangrams
You are viewing a single comment's thread. Return to all comments →
wouldnt s[i]-'a' is same as s[i]-'A'?? In that case, why do we need two separate arrays one for capital and one for lower case? Anyway for panagram, both are counted the same..