hi there …
yesterday i solved Longest Common Substring problem using SAM then i moved to Longest Common Substring II which was solvable using the same code with slightly changes. but when i submited it, it got WA #10 and i am pretty sure there is no memory overflow nor code mistakes because i resubmited the newer version of the code on the easier version of the problems (which can work with no changes at all ) and i got AC again . so i think either the testcases of the easier version are weak or there is something wrong with the harder version testcases … can somebody help me, i am pretty confused right now