Python1 Min Read LetuscrackonJune 10, 2024 String – Print till char A string S is passed as input along with a character C. The program must print the string value S till C is reached. Input Format:The first…
C1 Min Read LetuscrackonJune 10, 2024 Matrix Find String Row-wise A character matrix of size N*N and a string S are given as input.The program must check if the string is present in the matrix row-wise and…
C1 Min Read LetuscrackonJune 10, 2024 Reverse the string value till last vowel Reverse the string value till last vowelGiven a string S, the program must reverse the string till last vowel. (All alphabets will be in…
C Dynamic Programming2 Min Read LetuscrackonJune 9, 2024 String & Asterisks Zig-Zag Pattern The program must accept a string S and an integer N as the input. The program must form a character matrix of size NxN with the asterisks (*).…
Java1 Min Read LetuscrackonJune 9, 2024 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 LetuscrackonJune 9, 2024 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 LetuscrackonJune 9, 2024 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 LetuscrackonJune 9, 2024 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 LetuscrackonJune 9, 2024 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 LetuscrackonJune 8, 2024 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;…