Tag: breadth first search

  • Breadth First Search… or Unclogging The Bathtub

    Encouraged by Flatiron instructor Jonathan Foster to make a blog post out of a Slack comment where I attempted to explain “Breadth First Search” in plain English, I thought it was time to finally kick off this blog about Better Heuristics for Understanding Code. If you don’t know what breadth first search is, you will…

  • Breadth First Search (Trees)

    For a better explanation of Breadth First Search, check out my previous algonalogy for Breadth First Search. For the example here, we’ll be going level by level and returning the averages for each level. Cast of Characters:-Wart Nose Climbing a Tree-Construction Workers-Lewis and Clark-Retired Turtle Bouncer-Wile E. Coyote-Forex Trader-Pushy Car Salesman-Shifty Eyed Shoplifter Glossary of…