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.
Writing 26 every time is a little unclear if it's not obvious that it stands for 26 letters in the alphabet. Generally, for any number other than 0 or 1, you should use a variable for it if you are going to be using it multiple times so that others know what the number stands for.
Two Characters
You are viewing a single comment's thread. Return to all comments →
Writing 26 every time is a little unclear if it's not obvious that it stands for 26 letters in the alphabet. Generally, for any number other than 0 or 1, you should use a variable for it if you are going to be using it multiple times so that others know what the number stands for.
HackerRank solutions.