Search
Lessons (14)
- Heaps & Priority Queues
A heap always gives you the smallest (or largest) item in O(1) and adds or removes items …
- Node.js and Express
… Take heap snapshots A heap snapshot is a picture of every object in the V8 heap at one …
- DSA Interview Patterns Cheat Sheet
… BFS, DFS, topological sort 6 Heaps, binary search on the answer, intervals 7 Backtracking 8 Dynamic programming Solve …
- Code Profiling
… Load, caching, and garbage-collection timing can all change the heap. Compare heap snapshots after a full GC …
- Rust: Ownership, Borrowing and Lifetimes
… every value has one owner rust let a = String::from("hello"); // a owns the heap string let b …
- L6 Production Debugging Casebook
… live heap, native memory, direct buffers, and a heap or container limit that's simply too small. 6 …
- Preparing for Technical Interview Rounds
… two pointers, sliding window, hash map, BFS/DFS, binary search, heap, intervals, dynamic programming. See [Data Structures & Algorithms …
- Rust: Types, Errors and Concurrency
… generics for speed, dyn Trait for mixed collections. - Smart pointers: Box (heap), Rc / Arc (shared ownership), RefCell / Mutex …
- Troubleshooting Playbook
… Also check runtime settings such as the Node.js --max-old-space-size or the JVM heap versus …
- Stacks & Queues
… Highest priority out first ER triage, Dijkstra (see Heaps ) Circular buffer Fixed size, wraps around Audio buffers, recent …
- Graphs: BFS & DFS
… It powers GPS navigation and network routing. (See Heaps & Priority Queues .) Key takeaways - Graph = nodes + edges; directed or …
- Linux Troubleshooting Playbook & Interview Questions
… find the memory leak (heap snapshots), cap Node's heap ( node --max-old-space-size=768 ), add swap …
- Sorting Algorithms
… n log n) O(n²) O(log n) ❌ Heap sort O(n log n) O(n log n …
- Running Kafka in Production: The DevOps View
… Use XFS or ext4 Memory JVM heap 4 to 8 GB is plenty; leave the rest of RAM …