C1 Min Read LetuscrackonMarch 23, 2026 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 LetuscrackonMarch 22, 2026 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 LetuscrackonMarch 20, 2026 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…
C1 Min Read LetuscrackonMarch 16, 2026 Array Reverse In Groups of M An array of N integers is passed as the input to the program and the program must reverse the elements in groups of size M.If the last group…
Python1 Min Read LetuscrackonMarch 9, 2026 Double Array Values Given N integers, the program must double the values and print them. Input Format:First line contains NSecond line contains N integers…
Python1 Min Read LetuscrackonMarch 3, 2026 Shift an array towards right An array with N numbers is passed as input to the program. The program must shift the values in the array to the right by one place.Then the…
C Python1 Min Read LetuscrackonDecember 3, 2025 Array Element Adjacent Sum Given an Array of length N, the program must print the sum of adjacent numbers of elements present in the array.Input Format:First line…
C Python1 Min Read LetuscrackonNovember 23, 2025 Array product except index value An array of N integers with non-zero values is passed as the input to the program. The program must print another array of size N where value…
C Java Python2 Min Read LetuscrackonOctober 12, 2025 Reduce Array – Remove Odd The program must accept an array of N even integers as the input. The program must print the output based on the following…
Python1 Min Read LetuscrackonOctober 8, 2025 Array Maximum Sum Divisible By N n array of numbers separated by space will be passed as input. A number N is also passed as input. The program has to print the maximum sum of…