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 Array – Next Greater Element [Zoho] Given an array of positive integers, print the next greater element for every element in the Array.The next greater element for a given…
C1 Min Read LetuscrackonJune 11, 2024 Longest Set – Absolute Difference Less Than One An array of N integers is passed as input. The program must print the length of the longest set of integers among the N numbers so that the…
Python1 Min Read LetuscrackonJune 11, 2024 Print – Only Three Digit Numbers The program must accept a string S and print only the three digit numbers in it (in the order of occurrence). The most significant digits can…
C1 Min Read LetuscrackonJune 11, 2024 String – Reverse Vowels Given a string S, reverse only the vowels in the string S and print the resultant string R as the output. The consonants must maintain their…
Java1 Min Read LetuscrackonJune 11, 2024 JAVA – Generics – String Sort An array of N strings is passed as input. Implement the function to sort the strings in ascending order and print the strings as mentioned in…
Java1 Min Read LetuscrackonJune 11, 2024 JAVA – File Handling – Count 1s An array of N integers is given in a file. The program must print the number of 1s in the input. The name of the file is stored in the…
Java1 Min Read LetuscrackonJune 11, 2024 Alternate Sorting – Max Min Given an array of N integers, rearrange the array in such a way that the first element is first maximum, second element is first minimum,…
Python1 Min Read LetuscrackonJune 11, 2024 Sum of N Integers – Even Reversed The program must accept N integers and print the sum S of all POSITIVE integers with the even positive integers reversed. Input…
Java1 Min Read LetuscrackonJune 11, 2024 JAVA – Exception – Divider The class Divider.java is given below. Please fill in the missing lines of code for the main method class Hello.java so…