← All problemsSign in

Lab Practical

Problem description. Pappu has his lab practical exam, and the teacher has given him the following program to write. Given a string, he has to find the number of subsets of the string that are palindromes. Since this is the Systems Programming Lab, he has to write the program in Assembly language. Fortunately, only the output is being checked, and Pappu has asked for you help. Input The fi

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start