← Home

Diagram kinds

Each kind of question gets the diagram that fits it. Tap Next or swipe the diagram. Objects: see the DI card.

Sequence

How does JWT authentication work end to end?

Also for: Login, OAuth, cache-aside, retries, tool calling, sagas

1/9The login form posts email and password over HTTPS.

Timeline

switchMap vs mergeMap: which one for a search box?

Also for: RxJS, async/await, threads, event loop, change detection

1/7Four streams, time runs right. Watch which search reaches the screen.

Pipeline

What is middleware and why does order matter?

Also for: Middleware, filters, interceptors, CI/CD, RAG pipeline

1/8Each app.Use…() line in Program.cs adds one middleware, and a request passes them in the order you wrote them. (UseRouting and UseCors sit here too; left out to keep it short.)

Architecture map

Walk me through a request across your Azure system.

Also for: HLD, Azure, microservices, your project walkthrough

1/9The whole system. Follow one loan application through it. On a phone the view moves to each part; on a laptop you see it all.

Tables

INNER vs LEFT JOIN: what comes back, and what goes wrong?

Also for: Joins, GROUP BY / HAVING, window functions, duplicates, Nth highest

1/7Two tables. A loan points to its customer through CustId. Which customers come back?

Cells

Two Sum: find two numbers that add up to a target.

Also for: Arrays, two pointers, sliding window, linked lists, trees

1/7Find two numbers that add up to 10. Checking every pair is O(n²). One pass with a dictionary is O(n).

Tables: fixed source, changing rows

WHERE vs HAVING with GROUP BY: which rows count, and when?

Also for: GROUP BY / HAVING, aggregates, UPDATE or INSERT between two runs, EF change tracking: the source stays on screen while the result builds

1/6One row per monthly payment. Collections asks: which contracts missed two or more?

Tree

Clustered index: how does SQL Server find one loan without reading the table?

Also for: Index B-trees and query plans (SQL), BST search and validation, recursion and merge-sort trees (DSA), component and file trees (Angular)

1/5A clustered index on LoanId stores the Loans table itself as this tree, sorted by LoanId.