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.
My question wasn't clear, apologies:
* When you say "2nd part" are you saying B and C , is that correct?
* When I mention the indexing, I see two solution : one that use the current value to access the access map (yours in C++) and one that uses current_value * R, the one in Java. Why are the two equivalent?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Count Triplets
You are viewing a single comment's thread. Return to all comments →
My question wasn't clear, apologies: * When you say "2nd part" are you saying B and C , is that correct? * When I mention the indexing, I see two solution : one that use the current value to access the access map (yours in C++) and one that uses current_value * R, the one in Java. Why are the two equivalent?