← All problemsSign in

Logan and his STRING dilemma

CodeChefRating 3007Open on judge ↗

Prof. Charles: "She is like you. Very much like you !! " Logan recently understood that Laura is his daughter. Transigen was breeding mutant children using DNA samples from several mutants for the "X-23" project. His own DNA was used. To save Laura, Logan has to find out how many of his attributes are also present in Laura. He gets access to N strings. Logan must know the set X(contains unique

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