Python1 Min Read LetuscrackonSeptember 7, 2025 Expand String based on Frequency In a string compression technique, a string can be compressed based on the following condition.– If a character occurs…
C Python1 Min Read LetuscrackonAugust 31, 2025 At least 1 Vowel – N String Values The program must accept N string values as the input. The program must print yes if all the N string values contain at least 1 vowel. Else the…
C Java Python1 Min Read LetuscrackonAugust 26, 2025 Trim String to Shorter Length The program must accept two string values S1 and S2 containing only lower case alphabets as the input. The program must trim the longer string…
Python1 Min Read LetuscrackonAugust 20, 2025 Super Binary String The program must accept a string S containing only 0s and 1s as the input. The program must print Yes if the…
C Python1 Min Read LetuscrackonAugust 14, 2025 String Contains X and Y The program must accept a string S as the input. The program must print yes if the string contains only the characters ‘X’ and…
C Java Python1 Min Read LetuscrackonAugust 11, 2025 Sort String Values – First and Last The program must accept N string values and sort them. Then the program must print the first and the last string values. Input : 5 lion tiger…
Python1 Min Read LetuscrackonAugust 6, 2025 Expand String – K Characters The program must accept three integers X, Y and K as the input. The program must form a string with lower case…
Python1 Min Read LetuscrackonAugust 2, 2025 Rearrange String Values – First Letter There are N string values that start with the same letter, but some string values are reversed. The program must accept those N…
Python1 Min Read LetuscrackonJuly 25, 2025 Split String Values – Palindrome The program must accept two string values S1 and S2 of equal length as the input. The program must split both the string…
Python1 Min Read LetuscrackonJuly 20, 2025 String Queries The program must accept a string S and Q queries as the input. The query can…