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…
Python1 Min Read LetuscrackonJune 9, 2024 Length of Line A line is denoted by the x and y co-ordinates of the two end points. The program must print the length of the line. Input Format:First line…
C1 Min Read LetuscrackonJune 8, 2024 Odd Length String – Middle Three Letters An odd length string S is passed as the input. The middle three letters of S must be printed as the output. Example 1;…
C1 Min Read LetuscrackonJune 8, 2024 Odd Length String Diagonal Pattern An odd length string S of length is passed as the input. The program must print the string S as two diagonal as shown in the example…
C Java Python2 Min Read LetuscrackonJune 8, 2024 Split String into Words – Length The program must accept an integer N, a string S and N integers as the input. The string S contains N words without any space.…
Python1 Min Read LetuscrackonJune 8, 2024 Find Length – Smallest Subarrays The program must accept two arrays A and B of equal size N as the input. For every index i in the array A, the…