C1 Min Read LetuscrackonMarch 15, 2025 Minimum Distance Between Alphabets Minimum Distance Between Alphabets: Given a string S and two alphabets C1 and C2 present in S, find the minimum distance D between C1…
Python1 Min Read LetuscrackonJune 13, 2024 Max Distance Same Characters The program must accept a string S as the input. The program must print the character along with its maximum distance to reach the…
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…
C1 Min Read LetuscrackonJune 9, 2024 Distance Travelled + or – The program must accept a string S representing the direction of movement as the input. The string S contains only the…
C1 Min Read LetuscrackonJune 9, 2024 Minimum Distance between words A string S is passed as the input.Two words w1 and w2 which are present in the string S are also passed as the input. The program must…
C Python1 Min Read LetuscrackonJune 9, 2024 Morning Walk Distance A man in order to reduce his weight walks along the boundary of a rectangular plot every morning. Depending on his energy level he walks for N…
Python1 Min Read LetuscrackonJune 8, 2024 Minimum distance points Given ‘n’ points in an X-Y plane , write an algorithm and the subsequent Python code to determine the pair of points that are…