← All problemsSign in

Strings Classes

While developing Apps for Artificial Intelligence, Arush has to use specific type of strings (words) called Class C strings. All the strings have been classified into 3 classes: Class A : A sequence of letters that read the same forward and backward. Class B : A string of class B can be converted to class A type by changing exactly one letter to a different letter. For Example, CAT is class

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