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…
C Python1 Min Read LetuscrackonJune 7, 2024 Maximum Length – S1 and S2 The program must accept two string values S1 and S2 as the input. The program must print the string having the maximum…
C Java Python1 Min Read LetuscrackonJune 7, 2024 Trim String to Shorter Length The program must accept two string values S1 and S2 containing only lower case alphabets as the input. The program must trim the longer string…