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.
CAN ANYONE EXPLAIN ME THE CONCEPT BEHIND THIS QUESTION AND WHAT MATHS IS APPLIED HERE.. I READ THE SOLUTIONS BUT DIDNT UNDERSTAND THEM.. everybody in their code have that loop with mask variable and i am not really getting hold of it
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Coprime Conundrum
You are viewing a single comment's thread. Return to all comments →
CAN ANYONE EXPLAIN ME THE CONCEPT BEHIND THIS QUESTION AND WHAT MATHS IS APPLIED HERE.. I READ THE SOLUTIONS BUT DIDNT UNDERSTAND THEM.. everybody in their code have that loop with mask variable and i am not really getting hold of it