0% found this document useful (0 votes)
45 views

Accenture Array Questions

Uploaded by

bhadkareniharika
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views

Accenture Array Questions

Uploaded by

bhadkareniharika
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Accenture Array questions (46)

Array Questions:

1. Find the Maximum Element in an Array


2. Find the Missing Number in an Array
3. Find the Intersection of Two Arrays
4. Remove Duplicates from an Array
5. Count the Occurrence of Each Element in an Array
6. Find the Second Largest Element in an Array
7. Merge Two Sorted Arrays
8. Find the Kth Largest Element in an Array
9. Find the Maximum and Its Index in an Array
10. Form an array of 1000 integers and find out the second-largest number.
11. Write a program that accepts the integer array of length ‘size’ and finds the largest
number that can be formed by permutation.
12. Write a function SmallLargeSum(array) which accepts the array as an argument or
parameter.
13. Write a function FindMaxInArray, which will find the greatest number from an array
with its desired index?
14. You are required to input the size of the matrix then the elements of matrix.
15. Write a function to validate if the provided two strings are anagrams or not.
16. The function accepts an integer array ‘arr’ of size ‘n’.
17. Write a function to find roots of a quadratic equation.
18. Perform a function to reverse a string word-wise.
19. The function accepts an integer array ‘arr’ of size ‘n’ as its argument.
20. The function accepts a character array ‘arr’ of size ‘n’.
21. The function accepts an integer array ‘arr’ of size ‘n’.
22. The function accepts two strings ‘str1’ and ‘str2’ as its argument.

3 included
2024 Questions
Array-related Questions

1. Chocolate Distribution
2. Parking Lot
3. Array Equilibrium
4. Array Rotation
5. Find Two Numbers with Sum N
6. Maximum Subarray Sum
7. Find the Minimum Value and Its Index in the Array

2025 Questions
8.  Rearrange bits of a number for minimum integer value.
9.  Find the elevation of a hiking trail summit.
10.  Calculate minimum switches to turn on all light bulbs.
11.  Count days of negative stock market growth.
12.  Find equilibrium point in an array.
13.  Label numbers in an array as even or odd.
14.  Count occurrences of the second largest element in an array.
15.  Sum of even positions in a reversed array.
16.  Find the 2nd smallest number in an array.
17.  Rotate an array to the right by k steps.
18.  Maximize points from deleting elements in an array.
19.  Count pairs that form a whole hour in minutes.
20.  Check if an array can be sorted by reversing one sub-array.
21.  Find minimum value of K in a matrix.
22.  Count distinct ways to climb stairs.
23.  Calculate maximum candies Bob can buy with money.
24.  Find coordinates of the other two vertices of a square.

You might also like