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
|
362 Discussions
|
Please Login in order to post a comment
Java Regex 2 - Duplicate Words challenges users to identify and remove repeated words in a string using regular expressions. It tests proficiency in pattern matching and efficient text processing. Betbhai9 Register
Please advise on why test case fails even though output matches. I believe its an minor mistake.
public class DuplicateWords {
}
public class DuplicateWords {
}
import java.util.Scanner; import java.util.regex.Matcher; import java.util.regex.Pattern;
public class DuplicateWords {
}
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?!