C ZOHO1 Min Read LetuscrackonJanuary 31, 2025 Odd length string diagonal pattern [ZOHO] Given a string S of odd length L, the program must print it twice as diagonals with the middle letter being the point of intersection.…
Python1 Min Read LetuscrackonNovember 26, 2024 Python Program To Sort K length Sub-Strings A string S of length L and an integer K is passed as the input. The program must sort and print all…
Dynamic Programming Python1 Min Read LetuscrackonJune 13, 2024 Longest Common Subsequence Length The program must accept two string values A and B as the input. The program must print the length of the longest common subsequence of the two…
C Python ZOHO1 Min Read LetuscrackonJune 12, 2024 Pattern Printing Middle Letter – Odd Length String [ZOHO] Pattern Printing Middle Letter – Odd Length String [ZOHO]: An odd length string S is passed as the input. The program must print the…
C Java Python2 Min Read LetuscrackonJune 12, 2024 Longest Palindrome Length The program must accept a string S as the input. The program must print the length of the longest palindrome that can be formed with…
C Java Python2 Min Read LetuscrackonJune 12, 2024 Sort the String Values Based on Length The program must accept N string values as the input. The program must sort the string values based on the length of each string…
C Java JavaScript Python3 Min Read LetuscrackonJune 11, 2024 Distinct Length Pairs The program must accept M integers and N integers as the input. The program must form pairs of integers by selecting one integer from M…
Dynamic Programming Python1 Min Read LetuscrackonJune 11, 2024 DP – Longest Common Substring Length Two string values S1 and S2 are passed as the input to the program. The program must print the length of the longest common substring.…
C Python ZOHO1 Min Read LetuscrackonJune 11, 2024 Even Length Substring – Equal Sum Halves [Zoho] Even Length Substring – Equal Sum Halves: Given a string S as input which consists only of digits from 0 to 9, print the longest…
C1 Min Read LetuscrackonJune 9, 2024 Characters – Factors of Length The program must accept a string S as the input. The program must calculate the length of string S as L. Then the program must print the…