C1 Min Read LetuscrackonJanuary 23, 2026 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…
C1 Min Read LetuscrackonJanuary 19, 2026 Even Position Characters in Reverse Order A string S is passed as input. The program must print the characters present at the even positions of the string in reverse order. Boundary…
C1 Min Read LetuscrackonJanuary 9, 2026 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…
C1 Min Read LetuscrackonJanuary 5, 2026 Vector of Characters Design a class charVector that has a character vector as datamember. Provide member functions in the class to createVector, duplicateVector,…
C1 Min Read LetuscrackonDecember 27, 2025 Characters – Factors of Length The program must accept a string S as the input. The program must calculate the length of string S as L. Then the program must print the…
C Java Python2 Min Read LetuscrackonDecember 12, 2025 Matrix – Same Characters The program must accept a character matrix of size NxN as the input. The program must print YES if all the characters in the diagonals (both…
Python1 Min Read LetuscrackonNovember 22, 2025 Count of Common Characters in the Strings Two string values S1 and S2 are passed as input. The program must print the count of common characters in the strings S1 and S2. Input Format:…
Python1 Min Read LetuscrackonOctober 7, 2025 Remove characters occurring multiple times A string S is passed as the input. The program must remove all characters which appear more than once. If all the characters in a string are…
C Python1 Min Read LetuscrackonSeptember 18, 2025 String – Non Repeated Characters The program must accept a string S as the input. The program must print all the non-repeated characters in the string S in the order of their…
C Python1 Min Read LetuscrackonSeptember 14, 2025 Replace Middle Character(s) with * The program must accept a string S as the input. The program must replace the middle character with * in the string S if the length of the…