Search
Lessons (13)
- Two Pointers & Sliding Window
… Learn them with animated-style diagrams and classic interview examples. Two Pointers The big idea Two people searching …
- Linked Lists
… Fast & slow pointers (tortoise and hare) Two pointers move through the list: slow moves 1 step, fast moves …
- Go Fundamentals
… 1299}) fmt.Println(string(data)) // {"id":7,"name":"Mug","price cents":1299} Pointers ⭐ A pointer holds the memory …
- DSA Interview Patterns Cheat Sheet
… in sorted'?} A -- yes BS[Binary search / Two pointers] A -- no B{Contiguous subarray<br/ or substring?} B …
- Rust: Types, Errors and Concurrency
… But once the plans pass, whole categories of problems (null pointer crashes, forgotten error cases, data races) simply …
- Design a Social Media Feed
… For normal users, a limited pool of workers adds a small pointer (just the post ID) to each …
- Arrays & Strings
… In-place reversal with two pointers js function reverse(arr) { let left = 0, right = arr.length - 1; while …
- Preparing for Technical Interview Rounds
… two pointers, sliding window, hash map, BFS/DFS, binary search, heap, intervals, dynamic programming. See [Data Structures & Algorithms …
- Rust: Ownership, Borrowing and Lifetimes
… This prevents dangling pointers and data races at compile time. - Take &str / &[T] in parameters; own String / Vec …
- Backend Languages: Node.js, Go, Python & Rust
… no garbage collector, no null pointer crashes. Popular frameworks Language Minimal Batteries included --- --- --- Node.js Express, Fastify, Hono …
- DynamoDB Modeling, RDS Scaling and Data Resilience
… store large blobs in S3 and keep the pointer. - Choose on-demand capacity for unpredictable traffic and provisioned …
- Go Concurrency: Goroutines, Channels and Context
… use pointer receivers. go vet warns you. - Go's built-in map is not safe for concurrent writes …
- 500 Users Upload Documents at Once: Design the Background Job Pipeline
… The message is just a pointer. ❌ Wrong: put the whole PDF or its text in the message. ✅ Right …