Array

Array is most fundamental container to hold multiple elements. It the skeletal part of Array List. In java, array can contain both primitive element or object.

Attribute

  • Index
  • Value

Routines

The array can be applied to every algorithm. Th Basic question for testing typically array knowledge are following:

  • Union or Intersection of Array
  • Based on Two Pointers
    • Interleaving
    • Partition
    • Squeeze Rule
  • Element Count
    • Count Inversions in an array
    • Count nearest large element
    • Applied with Segment Tree
  • Sort
    • Most of Sort algorithm
  • Search
    • Binary Search

You can it is almost every where.

results matching ""

    No results matching ""