Menu
Python and Linux: 1991's best inventions.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
All Categories
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
Breadth-first Memes
Posts tagged with Breadth-first
If A Binary Tree Wore Pants: The Ultimate CS Fashion Dilemma
Algorithms
Programming
1 year ago
412.0K views
0 shares
Forget explaining traversal algorithms—I've moved on to the real computer science question: binary tree fashion choices. Left image: individual pants for each branch (clearly a depth-first dresser). Right image: one giant pair covering all nodes (breadth-first believer). The left tree is basically wearing 15 pairs of skinny jeans while the right one's rocking a single pair of MC Hammer pants. And they say data structures aren't stylish! Next up: linked lists and their necklace preferences.
Today's picks
Calyders 500 PCS Cute Small Business Thank You Stickers, Repeat Customer Favorites, Packaging & Shipping Stickers for Online Retailers
Affiliate
$8.99
NordVPN
Sponsored
VPN
C++ > other women!
Backend
34.7K views
4 years ago