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.
You've just found a tradeoff: the logic fits nothing but the problem requirements. If you need more fine-grained control over the special characters then you have to change the algorithm a bit.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Strong Password
You are viewing a single comment's thread. Return to all comments →
You've just found a tradeoff: the logic fits nothing but the problem requirements. If you need more fine-grained control over the special characters then you have to change the algorithm a bit.