Python1 Min Read LetuscrackonJune 11, 2024 Sort N Strings – Descending Order N strings are passed as input. The program must sort them in the descending order. Input Format: The first line contains the value of N. Next…
Dynamic Programming Java1 Min Read LetuscrackonJune 10, 2024 Minimum Edit Distance Two Strings The program must accept two string values S1 and S2 as the input.The program must print the minimum cost required to convert the string S1 to…
Java1 Min Read LetuscrackonJune 10, 2024 Two Strings – L Joint Given two strings S1 and S2, where the last letter of one of the strings is same as the first letter of the other string, print the output as…
Python1 Min Read LetuscrackonJune 10, 2024 Isomorphic Strings Given two strings S1 and S2, the program must print if they are isomorphic or not. Two strings are isomorphic if the characters in S1 can be…
Python1 Min Read LetuscrackonJune 9, 2024 Count of Common Characters in the Strings Two string values S1 and S2 are passed as input. The program must print the count of common characters in the strings S1 and S2. Input Format:…
C1 Min Read LetuscrackonJune 8, 2024 Concatenate Strings Alphabetically Two string values S1 and S2 are passed as the input. The program must concatenate them depending on which string comes first in the…
Python1 Min Read LetuscrackonJune 7, 2024 File Handling – Read and Print Strings The program must accept a string S denoting the filename as the input. The program must read all the content from the file S and…