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.
every time a new word is being checked from magazine so obviously more than once the condition i==null will be true.That means multiple words are getting their value as 1.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Hash Tables: Ransom Note
You are viewing a single comment's thread. Return to all comments →
every time a new word is being checked from magazine so obviously more than once the condition i==null will be true.That means multiple words are getting their value as 1.