+ 6
[CHALLENGE] How to get the longest substring which length more than one of one String.welcome to resolve.
how to get the longest substring which length more than one of String.output substring and times of repetition of substring.if there are no substring then output NONO. eg. "5555"=>"555" :2 "aabbcc"=>NONO "abcabcertert"=> abc:2 ert:2 https://www.sololearn.com/discuss/1157975/?ref=app
5 Answers
+ 7
This was a very nice challenge Thanks
https://code.sololearn.com/cOhjKy89v0As/?ref=app
+ 4
Mr Louis's answer is perfect.Thank you.I have implemented it by java.
https://code.sololearn.com/c8E3HP00x2wE/?ref=app
+ 2
html js java come on pls
+ 1
that is a very good question
+ 1
thank you for your opinion