The definitive guide for full-stack engineers, covering Frontend (React, Next.js, TypeScript), Backend (Node.js, Express), Databases (SQL/NoSQL), System Design, and DevOps.
Total Questions:510
Difficulty Levels:
BeginnerIntermediateAdvanced
0%
Overall Progress
0/510
Status
Problem
Level
2.Explain hoisting in JavaScript with examples.
Easy
3.What is the difference between == and === in JavaScript?
Easy
4.What are closures in JavaScript and why are they useful?
Medium
5.Explain the concept of 'this' keyword in JavaScript.
Medium
6.What is the difference between null and undefined?
Easy
7.What are arrow functions and how do they differ from regular functions?
Easy
8.What is the difference between function declaration and function expression?
Easy
9.Explain call, apply, and bind methods.
Medium
10.What is the event loop in JavaScript?
Hard
11.What are promises in JavaScript?
Medium
12.What is the difference between Promise.all() and Promise.race()?
Medium
13.What is async/await and how does it work?
Medium
14.What is callback hell and how do you avoid it?
Medium
15.What are higher-order functions in JavaScript?
Medium
16.Explain map, filter, and reduce with examples.
Medium
17.What is the difference between slice() and splice()?
Easy
18.What is destructuring in JavaScript?
Easy
19.What are template literals in JavaScript?
Easy
20.What is the spread operator and rest parameters?
Easy
21.What is the difference between shallow copy and deep copy?
Medium
22.How do you clone an object in JavaScript?
Medium
23.What is prototypal inheritance in JavaScript?
Medium
24.What is the prototype chain?
Medium
25.What are JavaScript classes and how do they work?
Medium
26.What is the difference between classical and prototypal inheritance?
Hard
27.What are JavaScript modules (import/export)?
Easy
28.What is the difference between CommonJS and ES6 modules?
Medium
29.What is event bubbling and event capturing?
Medium
30.How do you stop event propagation?
Easy
31.What is event delegation?
Medium
32.What are Web Workers in JavaScript?
Hard
33.What is the difference between localStorage and sessionStorage?
Easy
34.What are cookies and how do they differ from storage APIs?
Medium
35.What is CORS (Cross-Origin Resource Sharing)?
Hard
36.How do you handle errors in JavaScript?
Easy
37.What is try-catch-finally block?
Easy
38.What are custom errors in JavaScript?
Medium
39.What is strict mode in JavaScript?
Easy
40.What are generator functions in JavaScript?
Hard
41.What is debouncing and throttling?
Hard
42.How do you implement debouncing in JavaScript?
Hard
43.What is memoization and how do you implement it?
Hard
44.What are WeakMap and WeakSet?
Hard
45.What is the difference between Map and Object?
Medium
46.What are Symbols in JavaScript?
Hard
47.What are iterators and iterables?
Hard
48.What is the for...of loop vs for...in loop?
Easy
49.What is currying in JavaScript?
Hard
50.What is function composition?
Hard
51.What are pure functions?
Medium
52.What is immutability and why is it important?
Medium
53.What is the difference between synchronous and asynchronous code?
Easy
54.What are microtasks and macrotasks?
Hard
55.What is the JavaScript runtime environment?
Hard
56.What is garbage collection in JavaScript?
Hard
57.What are memory leaks and how do you prevent them?
Hard
58.What is the difference between shallow and deep comparison?
Medium
59.How do you implement a custom Promise?
Hard
60.What is Proxy in JavaScript?
Hard
61.What is TypeScript and why should you use it?
Easy
62.What are the benefits of using TypeScript over JavaScript?
Easy
63.What are types in TypeScript?
Easy
64.What is the difference between type and interface?
Medium
65.What are union types and intersection types?
Medium
66.What are generics in TypeScript?
Medium
67.What is type inference in TypeScript?
Easy
68.What are type guards in TypeScript?
Medium
69.What is the 'any' type and why should you avoid it?
Easy
70.What is the 'unknown' type vs 'any' type?
Medium
71.What are enums in TypeScript?
Easy
72.What are tuple types in TypeScript?
Easy
73.What is the 'never' type in TypeScript?
Hard
74.What are optional properties in TypeScript?
Easy
75.What is the 'readonly' modifier?
Easy
76.What are access modifiers (public, private, protected)?
Medium
77.What are abstract classes in TypeScript?
Medium
78.What is type assertion in TypeScript?
Medium
79.What are utility types (Partial, Pick, Omit, etc.)?
Medium
80.How do you handle null and undefined in TypeScript?
Medium
81.What is React and why is it popular?
Easy
82.What are React components?
Easy
83.What is the difference between functional and class components?
Easy
84.What are React Hooks?
Easy
85.What is useState hook and how do you use it?
Easy
86.What is useEffect hook and when is it called?
Easy
87.What is the dependency array in useEffect?
Easy
88.What is the difference between useEffect and useLayoutEffect?
Hard
89.What is useContext hook?
Medium
90.What is useReducer and when should you use it?
Medium
91.What is the difference between useState and useReducer?
Medium
92.What is useMemo and when should you use it?
Medium
93.What is useCallback and how does it differ from useMemo?
Medium
94.What is useRef hook used for?
Easy
95.What are custom hooks in React?
Medium
96.What is the Virtual DOM in React?
Medium
97.How does React reconciliation work?
Hard
98.What is JSX in React?
Easy
99.What are props in React?
Easy
100.What is prop drilling and how do you avoid it?
Medium
101.What is the Context API in React?
Medium
102.What is Redux and why is it used?
Medium
103.What are Redux actions, reducers, and store?
Medium
104.What is the difference between Redux and Context API?
Medium
105.What is Redux Toolkit?
Medium
106.What are Redux middleware (thunk, saga)?
Hard
107.What is the difference between Redux Thunk and Redux Saga?
Hard
108.What is component lifecycle in React?
Medium
109.What are lifecycle methods in class components?
Medium
110.How do you handle forms in React?
Easy
111.What is controlled vs uncontrolled components?
Medium
112.What is React Router and how does it work?
Easy
113.What is the difference between Link and NavLink in React Router?
Easy
114.How do you implement protected routes in React?
Medium
115.What is lazy loading in React?
Medium
116.What is code splitting in React?
Medium
117.What is React.memo() and when should you use it?
Medium
118.What is PureComponent in React?
Medium
119.What are React Fragments?
Easy
120.What is the key prop in React lists and why is it important?
Medium
121.What is Server-Side Rendering (SSR) in React?
Hard
122.What is Next.js and its benefits?
Medium
123.What is Static Site Generation (SSG) vs Server-Side Rendering?
Medium
124.What is Incremental Static Regeneration (ISR)?
Hard
125.What are React Portals?
Hard
126.What are Error Boundaries in React?
Hard
127.What is Suspense in React?
Medium
128.What is React Concurrent Mode?
Hard
129.What are Higher-Order Components (HOC)?
Hard
130.What are Render Props in React?
Hard
131.What is the Compound Component pattern?
Hard
132.What is React Testing Library?
Medium
133.How do you test React components?
Medium
134.What is snapshot testing in React?
Medium
135.What is the difference between shallow and mount in Enzyme?
Hard
136.How do you optimize React performance?
Hard
137.What causes re-renders in React?
Easy
138.How do you prevent unnecessary re-renders?
Medium
139.What is React Profiler?
Hard
140.What is the difference between useEffect cleanup and componentWillUnmount?
Medium
141.What is Node.js and why is it used for backend?
Easy
142.What is the event-driven architecture in Node.js?
Medium
143.What is non-blocking I/O in Node.js?
Medium
144.What is the difference between Node.js and browser JavaScript?
Easy
145.What is the Node.js event loop?
Hard
146.What are streams in Node.js?
Medium
147.What is the difference between readable and writable streams?
Medium
148.What is the Buffer in Node.js?
Hard
149.What is the difference between process.nextTick() and setImmediate()?
Hard
150.What is clustering in Node.js?
Hard
151.What is the child_process module?
Hard
152.What is Express.js?
Easy
153.What is middleware in Express?
Easy
154.What are the types of middleware in Express?
Medium
155.What is the difference between app.use() and app.get()?
Easy
156.How do you handle errors in Express?
Medium
157.What is body-parser middleware?
Easy
158.What is CORS middleware and why is it needed?
Medium
159.What is helmet middleware for security?
Medium
160.How do you serve static files in Express?
Easy
161.What is routing in Express?
Easy
162.What are route parameters and query parameters?
Easy
163.How do you handle file uploads in Node.js?
Medium
164.What is Multer middleware?
Medium
165.How do you implement authentication in Express?
Medium
166.What is JWT (JSON Web Token)?
Medium
167.What is the difference between session-based and token-based authentication?
Medium
168.How do you implement refresh tokens?
Hard
169.What is bcrypt and why is it used?
Medium
170.How do you hash passwords in Node.js?
Medium
171.What is the crypto module in Node.js?
Hard
172.What is environment variable management (.env file)?
Easy
173.What is dotenv package?
Easy
174.How do you handle asynchronous operations in Node.js?
Easy
175.What is the difference between callbacks and promises in Node.js?
Easy
176.What is async/await in Node.js?
Easy
177.How do you prevent callback hell in Node.js?
Medium
178.What is npm and yarn?
Easy
179.What is the difference between npm and yarn?
Easy
180.What is package.json and package-lock.json?
Easy
181.What is a relational database?
Easy
182.What is SQL and its types (DDL, DML, DCL, TCL)?
Medium
183.What is the difference between SQL and NoSQL databases?
Easy
184.What are primary keys and foreign keys?
Easy
185.What is normalization in databases?
Medium
186.What are the normal forms (1NF, 2NF, 3NF, BCNF)?
Hard
187.What is denormalization and when should you use it?
Hard
188.What is an index in a database?
Medium
189.What are the types of indexes?
Hard
190.What is the difference between clustered and non-clustered indexes?
Hard
191.What are database constraints (NOT NULL, UNIQUE, CHECK)?
Easy
192.What is the difference between DELETE, TRUNCATE, and DROP?
Medium
193.What are SQL JOINs and their types?
Medium
194.What is the difference between INNER JOIN and OUTER JOIN?
Medium
195.What is a LEFT JOIN vs RIGHT JOIN?
Easy
196.What is a CROSS JOIN?
Medium
197.What is a self-join?
Medium
198.What are subqueries in SQL?
Medium
199.What is the difference between WHERE and HAVING clause?
Medium
200.What are aggregate functions (COUNT, SUM, AVG, MIN, MAX)?
Easy
201.What is GROUP BY clause?
Easy
202.What is the ORDER BY clause?
Easy
203.What are window functions in SQL?
Hard
204.What is the difference between UNION and UNION ALL?
Medium
205.What are views in SQL?
Medium
206.What is a stored procedure?
Medium
207.What is the difference between stored procedure and function?
Hard
208.What are triggers in databases?
Hard
209.What is a database transaction?
Medium
210.What are ACID properties in databases?
Medium
211.What is the difference between COMMIT and ROLLBACK?
Easy
212.What is database locking?
Hard
213.What are deadlocks and how do you prevent them?
Hard
214.What is connection pooling in databases?
Medium
215.What is PostgreSQL and how does it differ from MySQL?
Medium
216.What are the advantages of PostgreSQL over MySQL?
Medium
217.What is the difference between VARCHAR and TEXT?
Easy
218.What is EXPLAIN in SQL query optimization?
Hard
219.How do you optimize slow SQL queries?
Hard
220.What is database replication?
Hard
221.What is MongoDB and why is it used?
Easy
222.What is a document in MongoDB?
Easy
223.What is a collection in MongoDB?
Easy
224.What is the difference between SQL and MongoDB queries?
Medium
225.What is the _id field in MongoDB?
Easy
226.What are MongoDB operators ($gt, $lt, $in, etc.)?
Medium
227.What is the aggregation pipeline in MongoDB?
Hard
228.What are the stages in MongoDB aggregation?
Hard
229.What is indexing in MongoDB?
Medium
230.What are the types of indexes in MongoDB?
Hard
231.What is sharding in MongoDB?
Hard
232.What is replication in MongoDB?
Medium
233.What is a replica set in MongoDB?
Medium
234.What is the difference between embedding and referencing in MongoDB?
Medium
235.When should you embed vs reference documents?
Hard
236.What is Mongoose in Node.js?
Easy
237.What are Mongoose schemas and models?
Easy
238.What are Mongoose middleware (pre and post hooks)?
Medium
239.What is population in Mongoose?
Medium
240.What are Mongoose virtuals?
Medium
241.How do you perform validation in Mongoose?
Medium
242.What is the difference between findOne() and find()?
Easy
243.What is the difference between updateOne() and findOneAndUpdate()?
Medium
244.What are MongoDB transactions?
Hard
245.What is Redis and when should you use it?
Medium
246.What is the difference between Redis and MongoDB?
Medium
247.What are Redis data structures?
Hard
248.What is caching and how does Redis help?
Medium
249.What is Cassandra database?
Hard
250.What is DynamoDB?
Medium
301.What is salt in password hashing?
Medium
302.What is HTTPS and how does it work?
Medium
303.What is SSL/TLS?
Medium
304.What are SSL certificates?
Easy
305.What is Content Security Policy (CSP)?
Hard
306.What is helmet.js for Express security?
Medium
307.What are secure HTTP headers?
Medium
308.What is the Same-Origin Policy?
Hard
309.How do you store sensitive data securely?
Medium
310.What is environment variable security?
Easy
311.What is CI/CD (Continuous Integration/Continuous Deployment)?
Medium
312.What is Git and why is it important?
Easy
313.What is the difference between Git and GitHub?
Easy
314.What are Git branches?
Easy
315.What is the difference between merge and rebase?
Medium
316.What is a pull request?
Easy
317.What is Git flow?
Medium
318.What is Docker and why is it used?
Medium
319.What is a Docker container?
Medium
320.What is the difference between Docker image and container?
Medium
321.What is Dockerfile?
Medium
322.What is docker-compose?
Medium
323.What is the difference between Docker and Virtual Machine?
Hard
324.What is Kubernetes?
Hard
325.What is a Kubernetes pod?
Hard
326.What is container orchestration?
Hard
327.What is AWS and its core services?
Easy
328.What is EC2 in AWS?
Easy
329.What is S3 in AWS?
Easy
330.What is AWS Lambda?
Medium
331.What is serverless architecture?
Medium
332.What are the benefits of serverless?
Medium
333.What is Elastic Beanstalk?
Medium
334.What is AWS RDS?
Easy
335.What is the difference between RDS and DynamoDB?
Medium
336.What is CloudFront CDN?
Medium
337.What is Nginx and why is it used?
Medium
338.What is the difference between Nginx and Apache?
Hard
339.What is a reverse proxy?
Medium
340.What is load balancing?
Medium
341.What is unit testing?
Easy
342.What is integration testing?
Medium
343.What is end-to-end (E2E) testing?
Medium
344.What is the difference between unit and integration testing?
Easy
345.What is Test-Driven Development (TDD)?
Medium
346.What is Jest testing framework?
Easy
347.How do you write unit tests in JavaScript?
Easy
348.What are test suites and test cases?
Easy
349.What is mocking in testing?
Medium
350.What is the difference between mock, stub, and spy?
Hard
351.What is code coverage?
Medium
352.What is a good code coverage percentage?
Easy
353.What is Mocha testing framework?
Medium
354.What is Chai assertion library?
Medium
355.What is Supertest for API testing?
Medium
356.How do you test asynchronous code?
Medium
357.What is snapshot testing?
Medium
358.What is Cypress for E2E testing?
Medium
359.What is Selenium?
Medium
360.What is the difference between Cypress and Selenium?
Hard
361.What is lazy loading?
Easy
362.What is code splitting?
Medium
363.What is tree shaking?
Hard
364.What is minification and uglification?
Easy
365.What is bundling in web development?
Easy
366.What is Webpack?
Medium
367.What is the difference between Webpack and Vite?
Medium
368.What is server-side rendering (SSR)?
Medium
369.What is client-side rendering (CSR)?
Medium
370.What is the difference between SSR and CSR?
Hard
371.What is hydration in SSR?
Hard
372.What is prefetching and preloading?
Hard
373.What is caching and its types?
Medium
374.What is browser caching?
Easy
375.What are cache headers (Cache-Control, ETag)?
Hard
376.What is CDN (Content Delivery Network)?
Easy
377.What is image optimization?
Easy
378.What is WebP image format?
Easy
379.What is responsive images (srcset)?
Medium
380.What is database query optimization?
Medium
381.What is N+1 query problem?
Hard
382.How do you solve N+1 query problem?
Hard
383.What is pagination vs infinite scroll?
Medium
384.What is database indexing for performance?
Medium
385.What is connection pooling?
Medium
386.What is API response caching?
Medium
387.What is Redis for caching?
Medium
388.What is memoization in frontend?
Medium
389.What are Web Workers for performance?
Hard
390.What is throttling and debouncing for performance?
Medium
391.What is WebSocket protocol?
Medium
392.What is the difference between HTTP and WebSocket?
Medium
393.What is Socket.io?
Medium
394.How do you implement real-time chat using Socket.io?
Medium
395.What are Socket.io rooms and namespaces?
Hard
396.What is the difference between polling and WebSockets?
Medium
397.What is long polling?
Hard
398.What is Server-Sent Events (SSE)?
Hard
399.When should you use WebSocket vs SSE?
Hard
400.How do you handle WebSocket reconnection?
Hard
401.What is monolithic architecture?
Easy
402.What is microservices architecture?
Medium
403.What are the advantages of microservices?
Medium
404.What are the challenges of microservices?
Hard
405.What is service discovery in microservices?
Hard
406.What is API Gateway?
Medium
407.What is message queue?
Medium
408.What is RabbitMQ?
Medium
409.What is Apache Kafka?
Hard
410.What is the difference between RabbitMQ and Kafka?
Hard
411.What is event-driven architecture?
Hard
412.What is CQRS (Command Query Responsibility Segregation)?
Hard
413.What is event sourcing?
Hard
414.What is database per service pattern?
Hard
415.What is distributed transactions?
Hard
416.What is the Saga pattern?
Hard
417.What is circuit breaker pattern?
Hard
418.What is service mesh?
Hard
419.What is Istio?
Hard
420.What is horizontal vs vertical scaling?
Easy
421.How would you design a URL shortener like bit.ly?
Medium
422.How would you implement a rate limiter?
Medium
423.How would you design a real-time notification system?
Medium
424.How would you implement infinite scroll in a social media feed?
Medium
425.How would you build a file upload system with progress tracking?
Medium
426.How would you implement search functionality with autocomplete?
Medium
427.How would you design a shopping cart system?
Hard
428.How would you implement a payment gateway integration?
Hard
429.How would you build a multi-tenant SaaS application?
Hard
430.How would you implement user roles and permissions?
Medium
431.How would you design a content management system (CMS)?
Medium
432.How would you implement a blog with comments system?
Easy
433.How would you build a real-time collaborative editor like Google Docs?
Hard
434.How would you implement email verification system?
Medium
435.How would you design a video streaming platform?
Hard
436.How would you implement a recommendation engine?
Hard
437.How would you build a dashboard with real-time analytics?
Hard
438.How would you implement data export functionality (CSV, PDF)?
Medium
439.How would you design a booking/reservation system?
Hard
440.How would you implement a queue system for background jobs?
Medium
441.How would you handle large file uploads (>1GB)?
Hard
442.How would you implement a search feature with filters?
Medium
443.How would you build an admin panel for managing users?
Medium
444.How would you implement audit logging?
Medium
445.How would you design a multi-language application?
Medium
446.How would you implement data migration between databases?
Hard
447.How would you build a REST API with versioning?
Easy
448.How would you implement soft delete functionality?
Medium
449.How would you handle timezone conversions in a global app?
Medium
450.How would you implement a forgot password flow?
Easy
451.Design YouTube's video recommendation system
Hard
452.How would you scale Google Search to handle billions of queries?
Hard
453.Design Google Drive's file sharing architecture
Hard
454.Implement Google Docs real-time collaboration
Hard
455.Design Gmail's email filtering system
Hard
456.Design Facebook's newsfeed architecture
Hard
457.How would you implement Instagram's story feature?
Medium
458.Design a distributed like/comment system
Hard
459.How would you scale Facebook Messenger?
Hard
460.Implement real-time notifications for millions of users
Hard
461.Design Amazon's product search and filtering
Hard
462.How would you implement Amazon's shopping cart?
Medium
463.Design the order tracking system
Medium
464.How would you implement Amazon's recommendation engine?
Hard
465.Design a scalable inventory management system
Hard
466.Design Netflix's video streaming architecture
Hard
467.How would you implement continue watching feature?
Medium
468.Design a recommendation algorithm for movies
Hard
469.How would you handle video encoding for multiple devices?
Hard
470.Implement a distributed caching system for videos
Hard
471.Design Uber's ride matching system
Hard
472.How would you implement real-time driver location tracking?
Hard
473.Design surge pricing algorithm
Hard
474.How would you handle ride cancellations?
Medium
475.Implement a trip fare calculation system
Medium
476.Design Airbnb's search and booking system
Hard
477.How would you implement calendar availability?
Medium
478.Design the review and rating system
Easy
479.How would you handle payment processing?
Hard
480.Implement a recommendation system for properties
Hard
481.Design Twitter's timeline architecture
Hard
482.How would you implement trending topics?
Hard
483.Design the tweet search functionality
Hard
484.How would you scale Twitter to handle millions of tweets?
Hard
485.Implement real-time follower count updates
Medium
486.Design Spotify's music recommendation system
Hard
487.How would you implement playlist collaboration?
Medium
488.Design offline music playback
Medium
489.How would you handle music streaming with quality adjustment?
Hard
490.Implement a shuffle algorithm that feels random
Hard
491.Design LinkedIn's connection recommendation system
Hard
492.How would you implement job search with filters?
Medium
493.Design the messaging system
Medium
494.How would you calculate profile strength?
Easy
495.Implement a feed ranking algorithm
Hard
496.Design a payment processing system
Hard
497.How would you handle payment failures and retries?
Medium
498.Design a subscription billing system
Hard
499.How would you implement refunds?
Medium
500.Design a fraud detection system
Hard
501.Tell me about a challenging bug you fixed
Easy
502.How do you handle disagreements with team members?
Easy
503.Describe a time you had to learn a new technology quickly
Easy
504.How do you prioritize tasks when everything is urgent?
Easy
505.Tell me about a project you're most proud of
Easy
506.How do you stay updated with new technologies?
Easy
507.Describe a time you optimized application performance
Medium
508.How do you handle technical debt?
Medium
509.What's your approach to code reviews?
Easy
510.How do you ensure code quality in your projects?