Question:- 181B - Number of Triplets
Question
Solution that got accepted-: 178183074
Solution that got rejected-: 178183367
Other solution using same concept
Summary: The logic of both code is same, I've tried using HashMap and HashSet but the solution does not work.
I do not understand why don't the code using HasHmap/HashSet work.
Any help is appreciated.
Thank you.