Data Structures-Basic Operations

Basic Operations

There is some specific operation that can be performed by Arrays such as:

  • Traversing: It prints all the elements one after another.
  • Inserting: It inserts an element at given index.
  • Deleting: It is used to delete an element at the given index.
  • Searching: It searches for an element(s) using given index or by value.
  • Updating: It is used to update an element at given index.