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.
select h.hacker_id, h.name from hackers h join (select sub.hacker_id hackerId, count(sub.hacker_id) hacker_count from submissions sub
join challenges ch on sub.challenge_id=ch.challenge_id
join difficulty diff on ch.difficulty_level=diff.difficulty_level
where diff.score=sub.score group by(sub.hacker_id)) sl on sl.hackerId=h.hacker_id where hacker_count > 1 order by hacker_count desc, h.hacker_id;
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Top Competitors
You are viewing a single comment's thread. Return to all comments →
select h.hacker_id, h.name from hackers h join (select sub.hacker_id hackerId, count(sub.hacker_id) hacker_count from submissions sub join challenges ch on sub.challenge_id=ch.challenge_id join difficulty diff on ch.difficulty_level=diff.difficulty_level where diff.score=sub.score group by(sub.hacker_id)) sl on sl.hackerId=h.hacker_id where hacker_count > 1 order by hacker_count desc, h.hacker_id;