Published Jun 25, 2018

Algorithms You Should Know

Joe Zack and Alan Underwood dissect essential algorithms, focusing on tree and graph traversal strategies, the importance of Big O notation for data complexity, and detailed insights into sorting algorithms, providing a comprehensive guide to mastering these technical essentials.
Episode Highlights
Coding Blocks logo

Popular Clips

Episode Highlights

  • Tree Search

    Tree search techniques are crucial for efficiently navigating data structures like binary trees. emphasizes the importance of understanding these algorithms, especially for technical interviews with big tech companies 1. Balancing trees is a significant aspect, as unbalanced trees can degrade performance. explains that maintaining a balanced tree is essential to avoid turning it into a linear structure, which would be inefficient 1.

       

    Graph Traversal

    Graph traversal strategies, such as depth-first and breadth-first search, are fundamental in navigating complex data structures. uses the analogy of a family tree to explain these methods, where depth-first explores as far down one path as possible before backtracking, while breadth-first examines all nodes at the current level before moving deeper 2. He notes that depth-first search is often preferred for its simplicity in certain scenarios, though it may require additional storage to track paths in graphs with cycles 3.

Related Episodes