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…
Python2 Min Read LetuscrackonJune 6, 2024 Minimum Length – String Values Minimum Length – String Values: The program must accept N string values as the input. The program must print the output based…
C Java Kickstart Python1 Min Read LetuscrackonJune 6, 2024 Length of the String The program must accept a string S as the input. The program must print the length of S as the output. Boundary Condition(s):1 <=…