Java Python ZOHO1 Min Read LetuscrackonJune 12, 2024 Array LEADERS [Zoho] An array of N numbers is passed as input. The program must print all the LEADERS in the array. A number is a LEADER if it…
C Java Python2 Min Read LetuscrackonJune 12, 2024 Spilt Array – Equal Sum The program must accept an integer array of size N as the input. The program must print YES if it is possible to split the array…
C1 Min Read LetuscrackonJune 12, 2024 C – Find the sum of the largest and smallest number in an Array. N numbers are passed as input to the program. The program must find the sum of the largest and smallest number in the Array. Input Format:The…
Cognizant1 Min Read LetuscrackonJune 12, 2024 Function removeElement from Array – CTS PATTERN You can click on Run anytime to check the compilation/execution status of the program. You can use printf to debug your code. The submitted…
Python1 Min Read LetuscrackonJune 12, 2024 Array Elements – Max Divisible by D An array of N positive integers are passed as input. D which is a positive integer is also passed as the input. The program must print the…
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…
Python1 Min Read LetuscrackonJune 11, 2024 Array Elements-Divisible by D An array of N positive integers are passed as input. D which is a positive integer is also passed as the input. The program must print the…
C1 Min Read LetuscrackonJune 11, 2024 Array Rotate Forward – R times An array of N integers is passed as the input to the program and the program must rotate the elements R times in forward direction. Input…
C1 Min Read LetuscrackonJune 11, 2024 Complete Array reverse Method An array of N integers is passed as the input to the program and the program must print the array after reversing it. Complete the method…
C2 Min Read LetuscrackonJune 11, 2024 Maximum Sum in Array – M out of N Given N positive integers, find the maximum sum S that can be obtained by adding exactly M out of the N integers. The program must print the…