FullStackFSCCafé
 
 
Sign in with GoogleSign in with Google. Opens in new tab
Kill Your Tech Interview
3877 Full-Stack, Algorithms & System Design Interview Questions
Answered To Get Your Next Six-Figure Job Offer
      

Top 19 Graph Theory Interview Questions

Entry Junior Mid Senior Expert
Sign in with GoogleSign in with Google. Opens in new tab
Topic Progress:
Q1:   

What is a Graph?

  Related To: Data Structures
Add to PDF   Entry 
Q2:   

What's the difference between the data structure Tree and Graph?

  Related To: Trees, Data Structures
Add to PDF   Junior 
Q3:   

List some ways of representing Graphs

  
Add to PDF   Junior 
Q4:   

Name some common types and categories of Graphs

  Related To: Data Structures
 Add to PDF   Mid 
Q5:   

What is difference between BFS and Dijkstra's algorithms when looking for shortest path?

  
 Add to PDF   Mid 
Q6:   

Explain what is DFS (Depth First Search) algorithm for a Graph and how does it work?

  Related To: Backtracking, Recursion
 Add to PDF   Mid 
Q7:   

What are some applications of Graphs?

  
 Add to PDF   Mid 
Q8:   

Provide some practical examples of using Depth-First Search (DFS) vs Breadth-First Search (BFS)?

  Related To: Trees
 Add to PDF   Mid 
Q9:   

Explain what is A* Search?

  
 Add to PDF   Mid 
Q10:   

Compare Adjacency Lists or Adjacency Matrices for Graphs representation

  
 Add to PDF   Mid 
Q11:   

Explain the BSF (Breadth First Search) traversing method

  
 Add to PDF   Mid 
Q12:   

What is Bipartite Graph? How to detect one?

  Related To: Data Structures
 Add to PDF   Senior 
Q13:   

Explain what is heuristic cost function in A* Search and how to calculate one?

  
 Add to PDF   Senior 
Q14:   

Why does a Breadth First Search (BFS) use more memory than Depth First Search (DFS)?

  Related To: Trees
 Add to PDF   Senior 
Q15:   

How do we know whether we need to use BSF or DSF algorithm?

  Related To: Trees
 Add to PDF   Senior 
Q16:   

Why is the complexity of DFS O(V+E)?

  
 Add to PDF   Senior 
Q17:   

What are key differences between BFS and DFS?

  
 Add to PDF   Senior 
Q18:   

Illustrate the difference in peak memory consumption between DFS and BFS

  
 Add to PDF   Expert 
Q19:   

What's the difference between best-first search and A* Search?

  
 Add to PDF   Expert 
 

Rust has been Stack Overflow’s most loved language for four years in a row and emerged as a compelling language choice for both backend and system developers, offering a unique combination of memory safety, performance, concurrency without Data races...

Clean Architecture provides a clear and modular structure for building software systems, separating business rules from implementation details. It promotes maintainability by allowing for easier updates and changes to specific components without affe...

Azure Service Bus is a crucial component for Azure cloud developers as it provides reliable and scalable messaging capabilities. It enables decoupled communication between different components of a distributed system, promoting flexibility and resili...

Cosmos DB has gained popularity among developers and organizations across various industries, including finance, e-commerce, gaming, IoT, and more. Follow along and learn the 24 most common and advanced Azure Cosmos DB interview questions and answers...
More than any other NoSQL database, and dramatically more than any relational database, MongoDB's document-oriented data model makes it exceptionally easy to add or change fields, among other things. It unlocks Iteration on the project. Iteration f...
Unit Tests and Test Driven Development (TDD) help you really understand the design of the code you are working on. Instead of writing code to do something, you are starting by outlining all the conditions you are subjecting the code to and what outpu...
Domain-Driven Design is nothing magical but it is crucial to understand the importance of Ubiquitous Language, Domain Modeling, Context Mapping, extracting the Bounded Contexts correctly, designing efficient Aggregates and etc. before your next DDD p...
At its core, Microsoft Azure is a public cloud computing platform - with solutions including Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS) that can be used for services such as analytics, virtual c...
As an asynchronous event-driven JavaScript runtime, Node.js is designed to build scalable network applications. Follow along to refresh your knowledge and explore the 52 most frequently asked and advanced Node JS Interview Questions and Answers every...
Dependency Injection is most useful when you're aiming for code reuse, versatility and robustness to changes in your problem domain. DI is also useful for decoupling your system. DI also allows easier unit testing without having to hit a database and...