Search

Lessons (14)

  • Recursion & Backtracking

    … each call handles a smaller version until the base case](/img/dsa/recursion-dolls.svg) Every recursive function …

  • Dynamic Programming

    … memoisation"] direction TB t1["Start from the big problem"] -- t2["Recurse into smaller ones"] -- t3["Cache every answer …

  • Graphs: BFS & DFS

    … DFS uses a stack , usually the call stack via recursion. js function dfs(graph, node, visited = new Set …

  • Big-O Notation Made Simple

    … A recursion 10,000 levels deep uses O(10,000) stack space and may crash with "Maximum call …

  • Trees & Binary Search Trees

    … folders, DOM, org charts, JSON. - Most tree problems are recursion: solve left, solve right, combine. - Four traversals: pre …

  • Users, Permissions & sudo

    … also makes files executable) A safer recursive fix for a website folder: folders 755 , files 644 . bash find …

  • Linux Command-Line Essentials

    … r src/ backup-src/ copy a folder (-r: recursive) mv old.txt new.txt move or rename rm …

  • CI/CD and Reviewed Production Changes

    … init -input=false -lockfile=readonly terraform fmt -check -recursive terraform validate terraform test terraform plan -input=false -lock …

  • Rust: Types, Errors and Concurrency

    … Typical use --- --- --- Box<T Heap allocation, single owner Recursive types, Box<dyn Trait Rc<T Shared ownership (reference …

  • Stacks & Queues

    … b["b()"] --- a["a()"] --- g["global"] end Infinite recursion keeps pushing frames until: "RangeError: Maximum call stack size …

  • DSA Interview Patterns Cheat Sheet

    … 3 Stacks, queues, linked lists 4 Trees, BST, recursion 5 Graphs: BFS, DFS, topological sort 6 Heaps, binary …

  • Sorting Algorithms

    … stand right." Then each group does the same, recursively. mermaid flowchart TD A["[7, 2, 9, 4, 5 …

  • Month 4: RAG and Knowledge Systems (Weeks 13-16)

    … N tokens, with 10-20% overlap Quick baseline Recursive Paragraphs, then sentences, until small enough Good default Structure …

  • Practical Lab: S3 File Upload and CloudFront Delivery with NestJS

    … delete markers first) aws s3 rm s3://$BUCKET --recursive aws s3 rb s3://$BUCKET 4. Remove the IAM …