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
|
400 Discussions
|
Please Login in order to post a comment
The issue with test case 6 is how the problem is formulated:
The original problem statement says that order matters, but test case 6 behaves as if order does not matter.
public class Solution {
}
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];
}
Test Case 5 is wrong as the expected output parsed incorrectly. e.g. around line 192 and 193 fh kg ni aa the test case treated it is the same as line 177 kg ni Please fix it. Thanks.
The testcase expected output provided for testcase 5 is wrong according to my findings, i have cross verified the outcome using eclipse to understand the difference.
Can anyone help in moving to the next question, without having to solve this question as there is a bug in the expected output