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

Array Questions

This document contains a list of 21 programming problems related to arrays. The problems involve common array operations like insertion, deletion, traversal, and searching. Other problems involve sorting arrays using different sorting algorithms, finding minimum, maximum and duplicate elements, and performing calculations on array elements like summing odd and even indexes.

Uploaded by

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

Array Questions

This document contains a list of 21 programming problems related to arrays. The problems involve common array operations like insertion, deletion, traversal, and searching. Other problems involve sorting arrays using different sorting algorithms, finding minimum, maximum and duplicate elements, and performing calculations on array elements like summing odd and even indexes.

Uploaded by

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

Sr. No.

Program Objective Links


1 Array Operations (Insertion, Deletion, Traversal, Linear Searching)
2 Linear search in array https://practice.geeksforgeeks.org/problems/search-an-element-in-an-array-1587115621/1
3 Binary Search in array https://practice.geeksforgeeks.org/problems/binary-search-1587115620/1
4 Check whether particular number has duplicate in array or not. If yes, then print last index.
5 Find maximum and minimum sum of array elements by deleting any 1 element from it
6 Find final array after changing conseuctive same elements to double and 0 respectively Eg - 1 2 3 3 4 5 5 5 6, then o/p should be 1 2 6 0 4 10 0 5 6
7 Find count of array elements having values in given range https://practice.geeksforgeeks.org/problems/elements-in-the-range2834/1
8 Sort array using insertion sort https://practice.geeksforgeeks.org/problems/insertion-sort/1
9 Sort array using selection sort https://practice.geeksforgeeks.org/problems/selection-sort/1
10 Sort array using bubble sort https://practice.geeksforgeeks.org/problems/bubble-sort/1
11 Find 2nd largest and 2nd smallest with & without sorting https://practice.geeksforgeeks.org/problems/find-second-largest-element2406/1/
12 Find sum of odd and even elements of array
13 Find sum of odd and even index elements of array https://practice.geeksforgeeks.org/problems/even-odd-sum5450/1/
14 Cyclically rotate array by one https://practice.geeksforgeeks.org/problems/cyclically-rotate-an-array-by-one2614/1/
15 Find triplet with sum = 0 https://practice.geeksforgeeks.org/problems/find-triplets-with-zero-sum/1/
16 Maximize sum(arr[i]*i) of an Array https://practice.geeksforgeeks.org/problems/maximize-arrii-of-an-array0026/1/
17 Find value for balanced array https://practice.geeksforgeeks.org/problems/balanced-array07200720/1/
18 Multiply left and right array sum. https://practice.geeksforgeeks.org/problems/multiply-left-and-right-array-sum1555/1/
19 Painted Cubes https://sites.google.com/view/ilcoder/ccqa/pcubes
20 Anshul Usama & Punishment https://sites.google.com/view/ilcoder/ccqa/aup
21 Angry Delta https://sites.google.com/view/ilcoder/ccqa/angrydelta

You might also like