Chapter 13: Trees and Graphs
This chapter covers one of the trickiest topics asked in interviews: trees and graphs. While there are tons of problems related to these two topics, only a handful of them are actually encountered in interviews. Therefore, it is very important to prioritize the most popular problems with trees and graphs.
In this chapter, we'll start with a brief overview of trees and graphs. Later, we'll tackle the most popular and challenging problems encountered in interviews at IT giants such as Amazon, Microsoft, Adobe, and other companies. By the end of this chapter, you'll know how to answer interview questions and solve coding challenges regarding trees and graphs in an efficient and comprehensive way.
This chapter covers ...
Get The Complete Coding Interview Guide in Java now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.