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.
- Prepare
- Java
- Data Structures
- Java Hashset
- Discussions
Java Hashset
Java Hashset
Sort by
recency
|
410 Discussions
|
Please Login in order to post a comment
The part that says (a,b) is not the same as (b,a) is not correct. The solution counts ni kg and kg ni as the same. This fixes Test 5. The test case is not correct, or the task definition.
Please fix Test 5. The Expected results are not correct. It goes wrong at line 191.
Solved case5: //Write your code here HashSet pairs = new HashSet<>();
any one help ee to solve the error in this code import java.io.; import java.util.; import java.text.; import java.math.; import java.util.regex.*;
public class Solution {
}