An array is a finite sequence of data that all stores the same type of information.
- It can be implemented using a rectangular table where the rows and columns are indexed by some number, usually in sequential order starting with zero.
- An array stores only one type of data at one time, not an arbitrary set.
- An array is created with a list or set of values that get assigned to sequential indexes, or locations in the array.
- Arrays are used frequently in programming because they simplify processing and provide efficient storage without needing to know details about particular items stored within them.
Hands-On Problems on Array
- Find all the missing numbers in a given integer array(or list) of 1 to 10.
- Remove the duplicate number from a given integer array or list.
- Find the largest and smallest number in an unsorted integer array.
- Find all pairs of an integer array whose sum is equal to a given number.
- Reverse an array in place in Java or List in Python.
- Find the second smallest number from an array or list.
- Write a function to return a sorted squared Array
- Nearest Smaller Element.
- Find the longest sequence of numbers in an Array where each number is unique.
- Maximum Subarray sum.
- Move all zeroes to the end of Array.
- Program to sort the first half of an array in ascending and second half in descending order.
- Problem Statement 2.
- Stick lengths.
- Merge two sorted Array.
- Search insert position.
- Number of Students Doing Homework at a Given Time.
- Check Array elements can make Arithmetic Progression.
- Find the running sum of an Array.
- Contains duplicates.