Python1 Min Read LetuscrackonJune 11, 2024 N Strings – Largest Unique Characters N string values are passed as input to the program. The output is the string which has the largest count of unique characters. If multiple…
Python1 Min Read LetuscrackonJune 11, 2024 Reverse X to Y Position Characters A string S and two integers X and Y are passed as input. The program must print the characters in the string S from position X to position Y…
C Python1 Min Read LetuscrackonJune 11, 2024 Remove Duplicate Characters The program must accept a string S as the input. The program must remove the duplicate characters in the string S and then the…
C1 Min Read LetuscrackonJune 10, 2024 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 LetuscrackonJune 10, 2024 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 LetuscrackonJune 10, 2024 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 LetuscrackonJune 10, 2024 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 LetuscrackonJune 9, 2024 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 LetuscrackonJune 9, 2024 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 LetuscrackonJune 9, 2024 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:…