Arya and the Strings
CodeChefOpen on judge ↗
Arya Stark is in a fix. Jaqen H'ghar, the Faceless Man, has given her two strings consisting of alphanumeric characters. He asks her to find the number of distinct characters that are present in both the strings. But as luck would have it, Arya has gone blind just before completing this task. She needs your help to solve this problem. Input - The first line of the input contains an integer T d
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