Java1 Min Read LetuscrackonDecember 10, 2025 Count of Consonants in a String Given a string,program must print the count of Consonants in a string Example input/output 1: Input:abcde output:3 Example input/output 2:…
C Python1 Min Read LetuscrackonDecember 2, 2025 String – Count Articles A string S is passed as the input. The program must print the number of articles in S. The string S passed as the input NEEDNOT be corrected…
Python1 Min Read LetuscrackonNovember 24, 2025 String Zig-Zag Pattern Given a string S and an integer N as the input, the program must split the string into groups whose size is N and print them as the output in…
C Java Python1 Min Read LetuscrackonNovember 19, 2025 Rotate String – N Positions A string S of length L is passed as the input. The program must rotate the string S by N position in forward direction and print the result as…
Java Python1 Min Read LetuscrackonNovember 14, 2025 Reverse String Till Underscore String S is passed as the input to the program. S may or may not have a single underscore embedded in it. The program must reverse the String…
C1 Min Read LetuscrackonOctober 24, 2025 Odd Length String – Middle Three Letters An odd length string S is passed as the input. The middle three letters of S must be printed as the output. Example 1;…
C1 Min Read LetuscrackonOctober 21, 2025 Odd Length String Diagonal Pattern An odd length string S of length is passed as the input. The program must print the string S as two diagonal as shown in the example…
C Java Python2 Min Read LetuscrackonOctober 20, 2025 Split String into Words – Length The program must accept an integer N, a string S and N integers as the input. The string S contains N words without any space.…
Python1 Min Read LetuscrackonOctober 8, 2025 Recursive Split String The program must accept a string S as the input. The program must split the string recursively based on the following conditions. If the…
Python1 Min Read LetuscrackonOctober 6, 2025 String Word Counter Given a string S as input which consists of multiple words separated by a space, the program must print the count C of the words which are…