Billi and String
CodeChefOpen on judge ↗
This TechNITi, Billi's intelligence is tested in a very different way by his girlfriend. His girlfriend has given him a binary string . She asked Billi to remove palindromic subsequences from the given binary string of length N. Find minimum number of palindromic subsequences he needs to remove such that the string becomes empty. Input - The first line of the input contains an integer T denoti
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