Search
Lessons (27)
- Linked Lists
… Reverse a linked list ⭐ The 1 linked-list interview question. Use three pointers: prev , current , next . js function …
- Design a URL Shortener
Turn long links into short ones that never get lost, redirect in milliseconds, can be switched off fast …
- Design a File Storage Service
… Check the access list. 2. Hand out a short-lived download link (for example, 5 minutes). The link …
- DSA Interview Patterns Cheat Sheet
… linked list cycle", "middle of list" Fast & slow pointers O(n), O(1) space "reverse linked list" prev …
- Follow-Ups, Rejections and Your First 90 Days
… a weekly list of what you shipped and learned. It makes reviews and your next job search much …
- A Resume That Gets Shortlisted
… name, city, email, phone, LinkedIn, GitHub / portfolio. 2. Summary (2–3 lines): who you are + years + stack + one …
- Design a Polite Web Crawler
… Find the links on the page and normalize them. 6. Add links you haven't seen before to …
- Microkernel (Plugin) Architecture
… MarkdownPlugin = { name: "emoji", version: "1.0.0", beforeParse: (md) = md.replaceAll(":rocket:", "🚀").replaceAll(":tada:", "🎉"), }; // plugins/external-links.ts …
- Storage, Search and Location Queries
… listing active" event must not bring back listing 88, which is now version 5 (deleted). The index only …
- VPC Endpoints, Transit Gateway and Hybrid Networking
Keep traffic private, cut NAT costs, connect many VPCs, link to on-premises networks, and troubleshoot with flow …
- Linux Troubleshooting Playbook & Interview Questions
… What is the difference between a hard link and a symbolic link?</strong </summary A symbolic link is …
- Frontend Performance & Core Web Vitals
… swap . html <link rel="preload" href="/fonts/inter.woff2" as="font" type="font/woff2" crossorigin / <link rel="preconnect …
- Zero-Downtime Deploys & Rollbacks
… 20261115-1530-9c8d7e6/ ← newest ├── shared/ │ ├── .env ← one copy, linked into every release │ └── uploads/ └── current - releases/20261115-1530-9c8d7e6 …
- Networking, DNS and Traffic Routing
… It's a chain, and each link can fail on its own: 1. DNS lookup: name to IP …
- Trees & Binary Search Trees
… 5)) & b7((7)) end subgraph Degenerate["Degenerate (a linked list!)"] d1((1)) -- d2((2)) -- d3((3)) -- d4((4 …
- Frontend Testing Strategy
… 201 })), ]; tsx it("lists products from the API", async () = { render(<ProductsPage / ); expect(await screen.findByText("Keyboard")).toBeInTheDocument(); // findBy …
- Graphs: BFS & DFS
… adjacency list The most common representation: a map from each node to the list of its neighbours. js …
- Two Pointers & Sliding Window
… left, one moves faster Remove duplicates, move zeroes, linked-list cycle Two arrays One pointer per array Merge …
- Linux Command-Line Essentials
… Find every .conf file under /etc that mentions listen . 3. Count how many lines in /var/log/syslog …
- Cross-Service Data: How to Join Without a Database JOIN
… The answer is not to create a shared database link; it is to choose where the cross-service …
- JavaScript Language Fundamentals
… prototypes and classes Every object has a hidden link to a prototype . When a property isn't found …
- Behavioral Patterns II: Chain, Template, Iterator, Mediator, Memento, Visitor
… stop the chain with 401 app.get("/orders", listOrders); function authenticate(req, res, next) { const user = verifyToken(req …
- Premiere-Night Video Streaming
… a small list file that tells the player "here are the segments, at these qualities". Segments never change …
- Running Kafka in Production: The DevOps View
… 1@kafka1:9093,2@kafka2:9093,3@kafka3:9093 KAFKA CONTROLLER LISTENER NAMES: CONTROLLER KAFKA INTER BROKER LISTENER …
- 500 Users Upload Documents at Once: Design the Background Job Pipeline
… Show progress The frontend asks GET /jobs/{id} every few seconds (this is called polling ), or listens on …
- Practical Lab: S3 File Upload and CloudFront Delivery with NestJS
… Start with the policy: bash cat nestjs-s3-policy.json <<EOF { "Version": "2012-10-17", "Statement": [ { "Sid": "ListBucket …
- Go Concurrency: Goroutines, Channels and Context
… Try it yourself Write a concurrent link checker : 1. Read a list of 50 URLs. 2. Check them …