top of page
Please log in to manage your portfolio and interview prep.
Heading 5
Heading 6
Heading 5
Heading 6
Heading 5
Heading 6
What is the difference between let, const, and var in JavaScript?
var is function-scoped and can be redeclared; let and const are block-scoped. const can't be reassigned after declaration, while let can.
Beginner
Explain the box model in CSS.
Every element is a box made of content, padding, border, and margin, from inside out.
Beginner
What is a closure in JavaScript?
A closure is a function that retains access to variables from its outer scope even after that outer function has returned.
Intermediate
Explain the difference between SQL JOIN types.
INNER JOIN returns only matching rows in both tables; LEFT JOIN returns all rows from the left table plus matches from the right.
Intermediate
What is the virtual DOM in React, and why does it help performance?
The virtual DOM is a lightweight in-memory representation of the UI. React diffs it against the previous version and only updates the real DOM where necessary, minimizing expensive DOM operations.
Intermediate
How would you design a database schema for a many-to-many relationship?
Use a join table with foreign keys referencing both related tables' primary keys.
Intermediate
What's the difference between authentication and authorization?
Authentication verifies who a user is (login); authorization determines what that authenticated user is allowed to do.
Beginner
How do you handle a slow database query in production?
Use EXPLAIN ANALYZE to see the query plan, add appropriate indexes, consider caching, and check for N+1 query patterns.
Advanced
Walk me through what happens when you type a URL into a browser and press enter.
DNS lookup resolves the domain to an IP, browser opens a TCP/TLS connection, sends an HTTP request, server responds, browser parses HTML/CSS/JS and renders the page.
Advanced
Describe a challenging bug you fixed and how you debugged it.
This is a behavioral question — answer with a real example from your own projects, following a structure like: the bug, your debugging process, the root cause, and the fix.
Intermediate
bottom of page