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
|
365 Discussions
|
Please Login in order to post a comment
I think the test case 5 is wrong. Does anybody have the same opinion? I am totally confused...
Passed Test
import java.io.; import java.util.; import java.text.; import java.math.; import java.util.regex.*;
public class Solution {
public static void main(String[] args) { Scanner s = new Scanner(System.in); int t = s.nextInt(); String [] pair_left = new String[t]; String [] pair_right = new String[t];
} }
All tests passed...
Hi guys. This is my solution but it is failing on the 5th test case. Could anyone tell me where I am going wrong?
It seems they have bug. 5th test is failing and the solution provided in Editorial was exactly the same code I had. Hackerrank should fix the issue on this problem.