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…
C1 Min Read LetuscrackonJune 8, 2024 Same Case N String The program must accept N string values of equal size as the input. The program must print the count of position of the string where all the…
Python1 Min Read LetuscrackonJune 7, 2024 Expand String based on Frequency In a string compression technique, a string can be compressed based on the following condition.– If a character occurs…