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.
The solution does not go beyond four or five elementary operations, so it is quite an introductory problem, which is fine. But the question description is so horribly written. It's like reading someone's notebook that is written with a pseudo-language that only the author understands.
Where's the introduction? What's the matter with xor? Because ^ is pretty cool? In the description it is said that query is made of string, but in the code it's a double vector of int out of nowhere, why?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Dynamic Array
You are viewing a single comment's thread. Return to all comments →
The solution does not go beyond four or five elementary operations, so it is quite an introductory problem, which is fine. But the question description is so horribly written. It's like reading someone's notebook that is written with a pseudo-language that only the author understands. Where's the introduction? What's the matter with xor? Because ^ is pretty cool? In the description it is said that query is made of string, but in the code it's a double vector of int out of nowhere, why?