Friday, 7 July 2023

What is Array in Data Structure ?

 what is array data structure?

           array is a container that can hold a fixed number of items and should be of the same type.

           The following component are important terms to understand the concept of Array.

        1.Element

        2.Index


 Representation of array








Basic Operations in Array:

  1. Traverse - Print all the array elements one by one
  2. insertion - Adds an element at the given index
  3. deletion - deletes an element using the give index or by the value
  4. Search - Searches an element using the given index or by the values
  5. update - Updates an element at the give index.




No comments:

Post a Comment

Word Basic Exercise

Exercise 1: Opening a document Show and hide the ribbon Move, show, and hide options of Quick Access toolbar Exercise 2: Cre...