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.
I think you have to split the problem,
1. Subquery where you find the max(ChallengedCount)
2. Subquery where find elements who appear at least two times except (subquery 1)
3. Query where find all elements except (suquery 2)
I hope it help you all
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Challenges
You are viewing a single comment's thread. Return to all comments →
I think you have to split the problem, 1. Subquery where you find the max(ChallengedCount) 2. Subquery where find elements who appear at least two times except (subquery 1) 3. Query where find all elements except (suquery 2)
I hope it help you all