Posts

DS What is data structure(DS)?  How many types and what are they? Data Structure is The mathematical and logical model of data in  any data collection is called data structure.  There are basically two types of data structures  i.  Linear data structure  ii.  Non-linear data structure what is the difference between linear and nonlinear data structures?  Linear Data Structure: In linear data structure, the data is kept in a tidy condition in accordance with certain rules and regulations.  Where the data stays connected to one another.  Data can be traversed or accessed very quickly.  Linear data structures include arrays, stacks, queues, ling lists, etc.  Non-Linear Data Structure: Data in a Non-Linear Data Structure  Stays.  Graphs and trees are examples of non-linear data structures.  What operations are performed on the data structure?  Operations of data structure:    i. Traversing  i i. S...