Describe BFS and DFS
Write down the difference between BFS and DFS?
Expert
BFS: This can be thought of as being such as Dijkstra's algorithm for shortest paths, however with each and every edge containing the same length. Though it is a lot simpler and does not require any data structures. We just keep a tree (that is, the breadth first search tree), a list of nodes to be added to tree and markings (Boolean variables) on the vertices to tell whether they are in the tree or list.
Depth first search is the other way of traversing graphs, which is closely associated to preorder traversal of a tree. Remember that preorder traversal just visits each node before its children. It is most simple to program as a recursive routine.
Briefly describe the term Tree database. Elucidate its common uses?
Define the Armstrong rules.
What is win-win spiral model?
Write down the differentiation between STACK and ARRAY?
Run Time Memory Allocation is termed as?
What are the dvantages of single linked list over doubly linked list?
Explain about linked list?
Illustrates the singly-linked doubly-linked and circularly-linked lists?
Explain the way of searching for data in a linked list.
What is the way to implement of traversal of a binary tree?
18,76,764
1942722 Asked
3,689
Active Tutors
1419818
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!