characters

CF

Characters at multiples of X

Example Input/Output 1:Input:abcdexyzwqpoolj5 Output:eqj Explanation: The multiples of 5 are like 5, 10, 15,… So the characters in these…
CF

First N Common Characters

Two string values S1, S2 are passed as the input. The program must print first N characters present in S1 which are also present in S2. Input…