img
All Q&A
1

What is a self referential structure? What is difference between Union & Structure?

22 December, 2024
A structure may have a member whose is same as that of a structure itself. Such structures are called self-referential.
3

Write short notes on the following :

      a)   BFS

      b)   Tail recursion

22 December, 2024
Breadth-first search is a way to find all the vertices reachable from the a given source vertex, s. Like depth first search, BFS traverse a connected component of a given graph and defines a spanning tree.
4

What are the difference between linear and non-linear data structure?

22 December, 2024
Main difference between linear and non-linear data structures lie in the way they organize data elements.