Eerie Strings
CodeChefOpen on judge ↗
Panda loves strings a lot. He has a kind of strange affinity with strings. He has been trying to solve several problems of strings for quite a while, and got stuck at one of them. The problem requires Panda to input two strings A and B each of length N and he needs to make set-A for all substrings of string A, and similarly set-B for all substrings of string B His dilemma doesn’t end here. To a
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