Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 2.08 KB

MasterArrays.md

File metadata and controls

39 lines (31 loc) · 2.08 KB

Master the Arrays

Arrays:-

Topics to learn arrays-->

  1. [Rotation_of_arrays] Rotation of array means shifting the elements of an array in a circular manner i.e., in the case of right circular shift the last element becomes the first element, and all other element moves one point to the right. (https://www.geeksforgeeks.org/array-data-structure/#rotation)

  2. [Rearranging_an_array] Rearrangement of array elements suggests the changing of an initial order of elements following some conditions or operations. (https://www.geeksforgeeks.org/array-data-structure/#rearrange)

  3. [Range_queries_in_array] Often you need to perform operations on a range of elements. These functions are known as range queries. (https://www.geeksforgeeks.org/array-data-structure/#range)

  4. [Multidimensional_array] These are arrays having more than one dimension. The most used one is the 2-dimensional array, commonly known as a matrix. (https://www.geeksforgeeks.org/array-data-structure/#range)

  5. [Kadane’s_Algorithm] (https://www.geeksforgeeks.org/largest-sum-contiguous-subarray/)

  6. [Dutch_National_Flag_Algorithm] (https://www.geeksforgeeks.org/sort-an-array-of-0s-1s-and-2s/)

Applications on Array

  1. Applications on Array
  2. Arrays store data elements of the same type.
  3. Arrays are employed when the size of the data set is known.
  4. Used to solve matrix problems.
  5. In a computer, this is used as a lookup table.
  6. The array can also implement database records.
  7. Helps in the implementation of the sorting algorithm.
  8. Variables of the same type can be saved under a single name.
  9. Arrays can be utilised for CPU scheduling.
  10. Used to implement different data structures like as stacks, queues, heaps, hash tables, and so on.