Forever
CodeChefOpen on judge ↗
Problem description: Rachel has left a note for Mike. This note may be stashed somewhere in all the documents that Mike has. Mike knows that the length of the note would be minimum len characters long. Also, it should be present in one location itself, i.e. it isn't divided into chunks. You are given a string s, denoting all the stashed up documents that Mike has. The note is naturally just a s
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