Tag: cpp
All the articles with the tag "cpp".
-
DFS vs BFS: Complete Comparison With C++ Code, Examples & Use Cases
DFS vs BFS on one graph: stack vs queue, traversal order, O(V + E) time, memory, shortest paths, cycle detection and connected components, with C++ code.
-
What Are DFS and BFS? A Visual Beginner's Guide to Graph Traversal (C++)
What is DFS and BFS? A visual beginner's guide to graphs, stacks and queues, with DFS and BFS traced step by step on one graph and simple C++ code.
-
Binary Search Tree (BST) Questions for University Exams in Bangladesh: Construction, Deletion & Viva (With Answers)
BST exam questions for CSE students in Bangladesh: build a binary search tree from a sequence, traversals, all three deletion cases, pseudocode, viva answers.
-
Tree Questions for University Exams in Bangladesh: Written, Lab & Viva (With Answers)
Tree questions for university exams in Bangladesh with model answers: traversals, building a tree from traversals, recursive and iterative algorithms, viva.