Practice with real interview questions asked by top tech companies to ace your next interview.
Filter questions by company, year, or search for specific topics to focus your preparation.
Write a function to reverse a singly linked list.
CodingWhat is CAP theorem, and how does it apply to distributed systems?
TechnicalHow would you introduce yourself in an interview?
HRGiven an array of integers, return indices of the two numbers that add up to a specific target.
CodingWhat is load balancing, and how does it work in distributed systems?
TechnicalHow would you handle a conflict within your team?
ManagerialWrite a function to perform an in-order traversal of a binary tree.
CodingWhat are ACID properties in database systems?
TechnicalWhy do you want to work at Microsoft?
HRGiven a collection of intervals, merge all overlapping intervals.
CodingHow does React's virtual DOM improve performance?
TechnicalHow do you motivate your team to meet deadlines?
ManagerialWrite a function to check if a string is a palindrome.
CodingWhat is MVC, and how does it work in web development?
TechnicalWhat are your strengths and weaknesses?
HRFind the length of the longest substring without repeating characters.
CodingWhat are microservices, and how do they differ from monolithic architecture?
TechnicalHow do you handle pressure and tight deadlines?
ManagerialReverse the order of words in a given string.
CodingHow does Tesla's electric vehicle architecture work?
TechnicalWhy do you want to work at Tesla?
HRGiven an array containing n distinct numbers taken from 0 to n, find the missing number.
CodingWhat are the different CPU scheduling algorithms, and how do they work?
TechnicalHow do you ensure effective collaboration within a team?
ManagerialWrite a function to check if a string of parentheses is balanced.
CodingWhat is blockchain, and how does it ensure data integrity?
TechnicalWhy do you want to work at IBM?
HRWrite a program to implement a stack using two queues.
CodingWhat is database indexing, and how does it improve query performance?
TechnicalHow do you prioritize tasks to meet tight deadlines?
ManagerialWrite a program to implement a queue using two stacks.
CodingHow does memory management work in operating systems?
TechnicalTell us about a challenging project you worked on and how you overcame the challenges.
HRWrite a function to find the kth largest element in an unsorted array.
CodingWhat is MapReduce, and how does it work in distributed systems?
TechnicalTell us about a time you failed and what you learned from it.
HRWrite a function to rotate an array to the right by k steps.
CodingWhat is consistent hashing, and why is it used in distributed systems?
TechnicalHow do you decide which tasks to delegate to your team members?
ManagerialWrite a function to check if a binary tree is a valid binary search tree.
CodingWhat are RESTful APIs, and how do they work?
TechnicalWhat does your ideal work environment look like?
HRWrite a function to find the median of two sorted arrays.
CodingWhat is GraphQL, and how does it differ from REST?
TechnicalHow do you handle underperforming team members?
ManagerialWrite a program to implement a trie (prefix tree).
CodingHow does memory management work in Swift?
TechnicalTell us about a time you took initiative at work.
HRDesign a rate limiter system to handle API requests.
CodingWhat is event-driven architecture, and how does it work?
TechnicalHow do you manage and motivate remote teams?
ManagerialWrite a program to implement a circular buffer.
CodingHow do autonomous driving systems work?
TechnicalTell us about a time you solved a complex problem at work.
HRWrite a function to find the longest palindromic substring in a given string.
CodingWhat are the key components of Android architecture?
TechnicalTell us about a time you worked under pressure and how you handled it.
HRWrite a program to implement a hash table.
CodingWhat is CPU cache, and how does it improve performance?
TechnicalHow do you handle conflicting priorities in a project?
ManagerialWrite a function to implement a binary search algorithm.
CodingWhat is quantum computing, and how does it differ from classical computing?
TechnicalTell us about a time you led a team to achieve a goal.
HRWrite a program to implement a priority queue.
CodingWhat is database sharding, and how does it improve scalability?
TechnicalHow do you manage stakeholder expectations in a project?
ManagerialHow would you implement dynamic pricing based on demand and supply?
CodingHow does Uber optimize location-based queries for ride matching?
TechnicalDescribe a time you worked on a system that needed to handle rapid growth.
BehavioralImplement a system to handle overlapping reservations for properties.
CodingHow would you rank search results for vacation rentals?
TechnicalTell us about a time you resolved a conflict with a customer.
BehavioralDesign a system to identify and display real-time trending topics.
CodingHow does Twitter prioritize tweets in a user's timeline?
TechnicalHow would you design systems to detect and mitigate spam/abuse?
BehavioralImplement an algorithm to suggest connections based on mutual links.
CodingHow does LinkedIn use social graphs for job or content recommendations?
TechnicalDescribe a time you built a professional relationship that helped your work.
BehavioralWrite code to model a rocket's path considering gravity and thrust.
CodingHow does SpaceX process real-time data from rockets during launch?
TechnicalDescribe a high-stakes decision you made under uncertainty.
BehavioralImplement a GPU-optimized matrix multiplication algorithm.
CodingHow do CUDA cores parallelize computations in GPUs?
TechnicalDescribe a project where you balanced performance vs. resource constraints.
BehavioralHow would you build a "Discover Weekly" playlist algorithm?
CodingHow does Spotify minimize latency while streaming music?
TechnicalTell us about a time you improved a product based on user feedback.
BehavioralWrite code to apply a grayscale/sepia filter to an image.
CodingHow does Adobe Reader render PDFs efficiently?
TechnicalDescribe a time you solved a problem in an unconventional way.
Behavioral