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;…
C1 Min Read LetuscrackonJune 8, 2024 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 LetuscrackonJune 8, 2024 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 LetuscrackonJune 8, 2024 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 LetuscrackonJune 8, 2024 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…
C1 Min Read LetuscrackonJune 8, 2024 Common Part in string values Two string values S1 and S2 are passed as input. The last portion of S1 will be the first portion of S2. The program must print this common…
C1 Min Read LetuscrackonJune 8, 2024 String Sorted in Descending Order The program must accept N string values as the input. The program must print the N string values sorted lexicographically in descending order…
C Python1 Min Read LetuscrackonJune 8, 2024 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…
C1 Min Read LetuscrackonJune 8, 2024 String Modification The program must accept a string S as the input. The program must remove all the vowels and insert a character “.” before each…