Breaking Strings
CodeChefOpen on judge ↗
$Bani$ is a good student and her teacher is always happy with her because she always did her homework on time. Today her teacher teaches her a new algorithm to make subsets of the string. After knowing about the subsets of strings $Bani$ become very curious to find more about strings so, she starts breaking and making string. While breaking string she found that she can break a string in a contig
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