+ 1
Longest Common Substring java
Again for the 10000th time, I believe the compiler is faulty.... of course I know am wrong. But for some reason, my code can't pass the 6th test on this code coach problem. https://code.sololearn.com/cBwl6Z70OxOU/?ref=app
7 Answers
+ 1
Initially you are taking substring of 2 characters by loop for(int j=I+2;....
Use j=i+1 only...
+ 1
Yes !!
It works now
Jayakrishnaš®š³ thanks a lot
0
I guess : on single word input?
It raising error.
0
No, it having issues printing multiple words
0
I've done that, still not working
0
O'1 I tested your code with that change i mentioned. It's working fine. so check again once.
0
You're welcome..