Python1 Min Read LetuscrackonJune 11, 2025 Longest Common Middle Substring Longest Common Middle Substring: The program must accept two string values S1 and S2 as the input. The program must print…
Java1 Min Read LetuscrackonFebruary 13, 2025 Smallest Substring Program in Java The program must accept a string S as the input. The program must print the smallest substring containing all the distinct…
C Dynamic Programming1 Min Read LetuscrackonFebruary 8, 2025 No Consecutive Digit Substring Count No Consecutive Digit Substring Count: Orlando wants to print the count of substrings in a digit string value S (which contains only digits 0…
Python1 Min Read LetuscrackonJanuary 26, 2025 Longest Substring with a and b count Longest Substring with a and b count: A string S containing only the characters a and b is passed as the input. The program must print…
Python1 Min Read LetuscrackonNovember 21, 2024 Non-overlapping Substring Count Two string values S and P representing a string and pattern are passed as the input to the program. The program must print the number of…
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…
Python1 Min Read LetuscrackonJune 11, 2024 Smallest Substring – All Distinct Letters A string value S containing only alphabets (both lower and upper case) is passed as input to the program. The program must print the size of…
C Java Python2 Min Read LetuscrackonJune 11, 2024 Search Substring & Print Words The program must accept a space-separated string S and N string values as the input. For each string X among the…
Dynamic Programming Java1 Min Read LetuscrackonJune 10, 2024 Longest Palindromic Substring The program must accept a string S as the input. The program must print the length of longest palindromic substring in the string S…