Algorithms and Data Structures
20 questions1
Describe the difference between an array and a linked list.
easyconcept
2
How would you reverse a linked list?
hardconcept
3
Explain the concept of a binary search tree.
mediumconcept
4
How do you find the middle of a linked list in one pass?
mediumconcept
5
What are the differences between depth-first search (DFS) and breadth-first search (BFS)?
mediumconcept
6
How would you implement a stack using queues?
hardcoding
7
How do you detect a cycle in a directed graph?
mediumconcept
8
Explain how you would balance a binary search tree.
mediumconcept
9
What is dynamic programming and how is it used?
mediumconcept
10
Describe the concept of memoization.
easyconcept
11
How would you find the longest increasing subsequence in an array?
hardconcept
12
Explain the quicksort algorithm.
mediumcoding
13
How would you implement a priority queue?
hardcoding
14
Describe how a hash table works.
easyconcept
15
How do you find the kth largest element in an array?
mediumconcept
16
Explain the merge sort algorithm.
mediumcoding
17
How do you perform a breadth-first traversal of a binary tree?
mediumconcept
18
What are the advantages and disadvantages of using a trie?
mediumconcept
19
How would you implement a circular buffer?
hardcoding
20
Describe Dijkstra's algorithm for finding the shortest path in a graph.
easycoding
System Design
10 questions21
How would you design a URL shortening service like bit.ly?
🔒
22
Explain how you would design a distributed cache system.
🔒
23
Describe the design of an online chat application.
🔒
24
How do you design a scalable search engine?
🔒
25
Explain the concept of sharding in databases.
🔒
26
How would you design a recommendation system?
🔒
27
Describe how you would design a fault-tolerant system.
🔒
28
How do you create a distributed file storage system?
🔒
29
What are the key considerations in designing a high-availability system?
🔒
30
How would you design an API rate limiter?
🔒
Programming Concepts
10 questions31
Explain the concept of object-oriented programming.
🔒
32
What is polymorphism in programming?
🔒
33
Describe the differences between interface and abstract class.
🔒
34
What is the SOLID principle in software engineering?
🔒
35
Explain the concept of recursion with an example.
🔒
36
What is functional programming and how does it differ from imperative programming?
🔒
37
Describe the concept of inheritance in object-oriented programming.
🔒
38
Explain the use of lambda expressions.
🔒
39
What are design patterns and why are they important?
🔒
40
How do you perform exception handling in your preferred programming language?
🔒
Databases
10 questions41
What is normalization in databases and why is it important?
🔒
42
Describe the ACID properties in database transactions.
🔒
43
Explain the differences between SQL and NoSQL databases.
🔒
44
How do you design a database schema for an e-commerce application?
🔒
45
What is indexing and how does it improve database performance?
🔒
46
Describe the concept of a foreign key in databases.
🔒
47
How do you perform a JOIN operation in SQL?
🔒
48
Explain the concept of a database transaction.
🔒
49
What is a stored procedure and when would you use it?
🔒
50
How do you optimize a slow SQL query?
🔒
Operating Systems
10 questions51
Explain the concept of process scheduling.
🔒
52
What is a deadlock and how can it be prevented?
🔒
53
Describe the differences between threads and processes.
🔒
54
How does virtual memory work?
🔒
55
Explain the concept of paging in operating systems.
🔒
56
What is a semaphore and how is it used?
🔒
57
Describe the function of a file system in an operating system.
🔒
58
How do operating systems handle multi-threading?
🔒
59
What is the purpose of an interrupt in an operating system?
🔒
60
Explain the concept of context switching.
🔒
Networking
10 questions61
What is the OSI model and why is it important?
🔒
62
Describe how TCP/IP works.
🔒
63
Explain the differences between HTTP and HTTPS.
🔒
64
How does DNS work?
🔒
65
What is a firewall and how does it protect a network?
🔒
66
Describe the concept of load balancing.
🔒
67
Explain the purpose of a VPN.
🔒
68
What is the difference between a router and a switch?
🔒
69
How do you implement a network protocol?
🔒
70
Describe the process of establishing a TCP connection.
🔒
Security
10 questions71
What is encryption and how is it used to secure data?
🔒
72
Explain the differences between symmetric and asymmetric encryption.
🔒
73
What is a man-in-the-middle attack and how can it be prevented?
🔒
74
Describe the concept of two-factor authentication.
🔒
75
How do you secure an API?
🔒
76
What are SQL injection attacks and how can they be prevented?
🔒
77
Explain the concept of cross-site scripting (XSS).
🔒
78
What is a secure socket layer (SSL) certificate?
🔒
79
How do you perform input validation to enhance security?
🔒
80
Describe the principle of least privilege in security.
🔒
Testing and Debugging
10 questions81
What are the differences between unit testing and integration testing?
🔒
82
Describe the concept of test-driven development (TDD).
🔒
83
How do you debug a program with a memory leak?
🔒
84
Explain the use of a debugger in software development.
🔒
85
What is a mock object and how is it used in testing?
🔒
86
How do you write a test case?
🔒
87
Explain the concept of continuous integration.
🔒
88
What are the best practices for logging and monitoring in software applications?
🔒
89
How do you perform load testing on an application?
🔒
90
Describe the process of identifying and fixing a race condition.
🔒
Miscellaneous
10 questions91
Explain the differences between synchronous and asynchronous programming.
🔒
92
How do you handle version control in a team environment?
🔒
93
Describe the concept of microservices architecture.
🔒
94
What is Docker and how is it used in software development?
🔒
95
Explain the concept of a RESTful API.
🔒
96
How do you manage dependencies in a software project?
🔒
97
What is cloud computing and how does it benefit software development?
🔒
98
Describe the differences between Agile and Waterfall methodologies.
🔒
99
How do you ensure the scalability of an application?
🔒
100
Explain the concept of DevOps and its role in software engineering.
🔒
🔒
Unlock answers to all 80 questions
Get the rest on Amazon — paperback, Kindle, or hardcover. Web unlock arrives in Phase 2.
Web checkout activates once the paywall ships.
