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
- Strings
- Tag Content Extractor
- Discussions
Tag Content Extractor
Tag Content Extractor
Sort by
recency
|
234 Discussions
|
Please Login in order to post a comment
My code passed all test case
Interesting problem! It’s a good exercise in parsing and understanding how tag-based languages like XML and HTML work, especially handling matching tags and nested content. Playexchange Login
My solution works, which I had to look up, since the tests seemed to be flawed.
Should fail, since "UnVSxxz#nNaJIqz&3 +7-z$WOCOIzg&5n%" in
<QafZ-H(}Qv0*4lQ2A
>DyjYxyNm)2iRcUQiBZDHLZ#Z+CAL%Kh4H($61{2qG3gD~nKpox{3eH</QafZ-H(}Qv0*4lQ2A
>UnVSxxz#nNaJIqz&3 +7-z$WOCOIzg&5n%<iFA_LC8r$p0fso0s5QBhw=wbW1n8qpYfC> ``` comes after the closing of </QafZ-H(}Qv0*4lQ2A
> and there is no<iFA_LC8r$p0fso0s5QBhw=wbW1n8qpYfC>
closing tag for test case #3import java.io.; import java.util.; import java.text.; import java.math.; import java.util.regex.*;
public class Solution{ public static void main(String[] args){
}
your verification proces fails!!!!