Lie Detector
CodeChefOpen on judge ↗
Jane recently saw a lie detector. She wanted to give it a try. Jane and Mean-akshi are best friends. They tell each other every secret. But, Mean-akshi has a BFF which Jane doesn't know about. Mean-akshi tells her other BFF everything, sometimes more than Jane. Jane wanted to test their friendship, so here's the scene: Question to Mean-akshi will be given as string S and a string M will be the 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