Answered Questions

  • What is linear and non-linear data structures?

    anupam gangwar

    • Apr 14th, 2020

    The data items are arranged in an orderly manner where the elements are attached adjacently. example -: Array, queue, stack, linked list, etc.
    It arranges the data in a sorted order and there exists a relationship between the data elements. example-:Tree and graph.

    Soumya

    • Mar 25th, 2018

    In linear data structure,the data items are arranged in a linear sequence.
    Ex.arrays
    In non linear data structure,the data items are not in a sequence.
    Ex.trees,graphs.