Stristy Game
CodeChefOpen on judge ↗
Adam loves to play Stristy but he is bored of playing alone and today he wants you to join him in playing. Since Adam’s chef has made some extra cookies, he will share the cookies if you give correct answers in Stristy. In this game a string S will be given and you have to find the length of the longest substring. The substring should occur at least two times, these occurrences can overlap. ###In
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start