Skip to content
Discussion options

You must be logged in to vote

Got it. I used the simple normal way to do it. But the question also said to use hash set. Normal way was right but lengthy. So, hashsetpro2 is with hash set with all the test cases passed. ;)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@PHAGUN-JAIN
Comment options

Answer selected by PHAGUN-JAIN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants