Search

Lessons (11)

  • Graphs: BFS & DFS

    … General graphs can have cycles , many paths and disconnected parts . Graphs are everywhere Real world Nodes Edges --- --- --- Google …

  • REST vs GraphQL vs gRPC

    … Not meant for customers. ![REST, GraphQL and gRPC compared](/img/backend/api-styles.svg) REST: resources over HTTP …

  • SQL vs NoSQL Databases

    … The safe default for business data. - NoSQL: document, key-value, wide-column and graph stores, built for flexibility …

  • Database Internals, Replication and Scaling

    … relational, document, key-value, wide-column, graph, time-series, search and vector stores solve different queries.

  • DSA Interview Patterns Cheat Sheet

    … window / Prefix sums] B -- no C{Tree or graph?<br/ grid, network, dependencies} C -- shortest path / levels BFS …

  • N+1 Queries, Loading & Pagination

    … IN batch Map children back to parents correctly GraphQL/resolvers Request-scoped DataLoader Cache only for request, not …

  • I — Interface Segregation Principle

    … for their needs, instead of one giant API. - GraphQL: clients request only the fields they need. - Repository interfaces …

  • DRY: Don't Repeat Yourself

    … hand in the client Generate types from OpenAPI / GraphQL schema Config values copied between files One .env / config …

  • Stacks & Queues

    … level by level"] b1[A] -- b2[B] & b3[C] end You'll see this in the Graphs lesson …

  • Microkernel (Plugin) Architecture

    … ad blockers, password managers) Webpack / Vite / Rollup Module graph + build pipeline Loaders and plugins (TypeScript, CSS, images) ESLint …

  • Hexagonal Architecture (Ports & Adapters)

    … Port name Adapters --- --- --- Driving ForBorrowingBooks REST controller, CLI, GraphQL resolver, test Driving ForManagingCatalog Admin UI, import job Driven …