You are viewing a single comment's thread. Return to all comments →
The integer array in the second line might contain duplicates.
You basically get rid of duplicates by converting it to a set, which leads to a wrong solution.
Seems like cookies are disabled on this browser, please enable them to open this website
No Idea!
You are viewing a single comment's thread. Return to all comments →
The integer array in the second line might contain duplicates.
You basically get rid of duplicates by converting it to a set, which leads to a wrong solution.