Character Sequence
CodeChefOpen on judge ↗
Alka and Abhishek are playing a word game in which Alka will give two sequences of characters $S1$ and $S2$ to Abhishek and Abhishek have to obtain the second sequence $S2$ by using the characters present in the first sequence $S1$. Abhishek was not sure that whether he can obtain the second sequence from first or not. Help Abhishek. For example, if the two sequences $S1$ and $S2$ given by Alka 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