Menu
May your code be bug-free and your deploys be boring.
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
Dfs Memes
Posts tagged with Dfs
Space Complexity Is The Most Important Thing Now
Algorithms
Programming
Hardware
9 months ago
446.7K views
0 shares
Welcome to 2024, where RAM costs more than your kidney and suddenly everyone's rediscovering DFS like it's some ancient wisdom. For decades, BFS was the go-to for graph traversal because who cares about O(n) space when RAM is cheap, right? Just throw more memory at it! But now with the global RAM shortage and prices skyrocketing, developers are frantically switching to DFS with its beautiful O(h) space complexity for tree traversals. The irony? Computer science professors have been preaching space-time tradeoffs since forever, but it took an economic crisis for devs to actually care about that queue eating up all your precious gigabytes. Stack-based recursion is having its redemption arc, and somewhere a CS101 professor is saying "I told you so."
Today's picks
Employee Vs Freelancer Vs Founder Vs Vibe Coder
Programming
291.2M views
14 days ago
Lenovo ThinkPad X9 Aura Edition Guide: Setup, Troubleshooting, Hidden Features & Performance Optimization
Affiliate
$26.99
Every Project
Programming
89.2K views
2 years ago