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.
Java Regex 2 - Duplicate Words
Java Regex 2 - Duplicate Words
Sort by
recency
|
358 Discussions
|
Please Login in order to post a comment
none of my submitted codes worked, even though the result was the same as expected, and even this code didn't work, unless it was exactly the same as many user submit here. wtf?!
code give right output but still wrong why???
import java.util.Scanner; import java.util.regex.Matcher; import java.util.regex.Pattern;
public class DuplicateWords {
} }
I have this code which gives exactly the expected result but still the test cases are failing.
import java.util.Scanner; import java.util.regex.Matcher; import java.util.regex.Pattern;
public class Solution {
}
something is wrong, not able to output anything import java.io.; import java.util.;
public class Solution {
}
what wrong in this code ? public static void main(String[] args) {