Previous Year Questions

Practice with real interview questions asked by top tech companies to ace your next interview.

1000+
Questions
150+
Companies
10+
Years Covered
4
Question Types

Browse Questions

Filter questions by company, year, or search for specific topics to focus your preparation.

Reverse a Linked List

Write a function to reverse a singly linked list.

Coding

Explain CAP Theorem

What is CAP theorem, and how does it apply to distributed systems?

Technical

Tell Me About Yourself

How would you introduce yourself in an interview?

HR

Two Sum Problem

Given an array of integers, return indices of the two numbers that add up to a specific target.

Coding

Explain Load Balancing

What is load balancing, and how does it work in distributed systems?

Technical

Conflict Resolution

How would you handle a conflict within your team?

Managerial

Binary Tree Traversal

Write a function to perform an in-order traversal of a binary tree.

Coding

Explain ACID Properties

What are ACID properties in database systems?

Technical

Why Microsoft?

Why do you want to work at Microsoft?

HR

Merge Intervals

Given a collection of intervals, merge all overlapping intervals.

Coding

Explain React Virtual DOM

How does React's virtual DOM improve performance?

Technical

Team Leadership

How do you motivate your team to meet deadlines?

Managerial

Palindrome Check

Write a function to check if a string is a palindrome.

Coding

Explain MVC Architecture

What is MVC, and how does it work in web development?

Technical

Strengths and Weaknesses

What are your strengths and weaknesses?

HR

Longest Substring Without Repeating Characters

Find the length of the longest substring without repeating characters.

Coding

Explain Microservices

What are microservices, and how do they differ from monolithic architecture?

Technical

Handling Pressure

How do you handle pressure and tight deadlines?

Managerial

Reverse Words in a String

Reverse the order of words in a given string.

Coding

Explain Electric Vehicle Architecture

How does Tesla's electric vehicle architecture work?

Technical

Why Tesla?

Why do you want to work at Tesla?

HR

Find the Missing Number

Given an array containing n distinct numbers taken from 0 to n, find the missing number.

Coding

Explain CPU Scheduling Algorithms

What are the different CPU scheduling algorithms, and how do they work?

Technical

Team Collaboration

How do you ensure effective collaboration within a team?

Managerial

Check for Balanced Parentheses

Write a function to check if a string of parentheses is balanced.

Coding

Explain Blockchain Technology

What is blockchain, and how does it ensure data integrity?

Technical

Why IBM?

Why do you want to work at IBM?

HR

Implement a Stack Using Queues

Write a program to implement a stack using two queues.

Coding

Explain Database Indexing

What is database indexing, and how does it improve query performance?

Technical

Handling Deadlines

How do you prioritize tasks to meet tight deadlines?

Managerial

Implement a Queue Using Stacks

Write a program to implement a queue using two stacks.

Coding

Explain Memory Management in OS

How does memory management work in operating systems?

Technical

Describe a Challenging Project

Tell us about a challenging project you worked on and how you overcame the challenges.

HR

Find the Kth Largest Element in an Array

Write a function to find the kth largest element in an unsorted array.

Coding

Explain MapReduce

What is MapReduce, and how does it work in distributed systems?

Technical

Describe a Time You Failed

Tell us about a time you failed and what you learned from it.

HR

Rotate an Array

Write a function to rotate an array to the right by k steps.

Coding

Explain Consistent Hashing

What is consistent hashing, and why is it used in distributed systems?

Technical

Delegating Tasks

How do you decide which tasks to delegate to your team members?

Managerial

Validate a Binary Search Tree

Write a function to check if a binary tree is a valid binary search tree.

Coding

Explain RESTful APIs

What are RESTful APIs, and how do they work?

Technical

Describe Your Ideal Work Environment

What does your ideal work environment look like?

HR

Find the Median of Two Sorted Arrays

Write a function to find the median of two sorted arrays.

Coding

Explain GraphQL

What is GraphQL, and how does it differ from REST?

Technical

Handling Underperforming Team Members

How do you handle underperforming team members?

Managerial

Implement a Trie

Write a program to implement a trie (prefix tree).

Coding

Explain Swift's Memory Management

How does memory management work in Swift?

Technical

Describe a Time You Took Initiative

Tell us about a time you took initiative at work.

HR

Design a Rate Limiter

Design a rate limiter system to handle API requests.

Coding

Explain Event-Driven Architecture

What is event-driven architecture, and how does it work?

Technical

Managing Remote Teams

How do you manage and motivate remote teams?

Managerial

Implement a Circular Buffer

Write a program to implement a circular buffer.

Coding

Explain Autonomous Driving Systems

How do autonomous driving systems work?

Technical

Describe a Time You Solved a Complex Problem

Tell us about a time you solved a complex problem at work.

HR

Find the Longest Palindromic Substring

Write a function to find the longest palindromic substring in a given string.

Coding

Explain Android Architecture

What are the key components of Android architecture?

Technical

Describe a Time You Worked Under Pressure

Tell us about a time you worked under pressure and how you handled it.

HR

Implement a Hash Table

Write a program to implement a hash table.

Coding

Explain CPU Cache

What is CPU cache, and how does it improve performance?

Technical

Handling Conflicting Priorities

How do you handle conflicting priorities in a project?

Managerial

Implement a Binary Search Algorithm

Write a function to implement a binary search algorithm.

Coding

Explain Quantum Computing

What is quantum computing, and how does it differ from classical computing?

Technical

Describe a Time You Led a Team

Tell us about a time you led a team to achieve a goal.

HR

Implement a Priority Queue

Write a program to implement a priority queue.

Coding

Explain Database Sharding

What is database sharding, and how does it improve scalability?

Technical

Handling Stakeholder Expectations

How do you manage stakeholder expectations in a project?

Managerial

Design Uber's Surge Pricing

How would you implement dynamic pricing based on demand and supply?

Coding

Explain Geohashing

How does Uber optimize location-based queries for ride matching?

Technical

Handling Scale

Describe a time you worked on a system that needed to handle rapid growth.

Behavioral

Design a Booking System

Implement a system to handle overlapping reservations for properties.

Coding

Explain Search Ranking

How would you rank search results for vacation rentals?

Technical

Cultural Fit

Tell us about a time you resolved a conflict with a customer.

Behavioral

Implement Trending Hashtags

Design a system to identify and display real-time trending topics.

Coding

Explain Feed Ranking

How does Twitter prioritize tweets in a user's timeline?

Technical

Handling Abuse

How would you design systems to detect and mitigate spam/abuse?

Behavioral

Design "People You May Know"

Implement an algorithm to suggest connections based on mutual links.

Coding

Explain Graph-Based Recommendations

How does LinkedIn use social graphs for job or content recommendations?

Technical

Networking

Describe a time you built a professional relationship that helped your work.

Behavioral

Simulate Rocket Trajectory

Write code to model a rocket's path considering gravity and thrust.

Coding

Explain Real-Time Telemetry

How does SpaceX process real-time data from rockets during launch?

Technical

Risk Management

Describe a high-stakes decision you made under uncertainty.

Behavioral

Optimize Matrix Multiplication

Implement a GPU-optimized matrix multiplication algorithm.

Coding

Explain CUDA Cores

How do CUDA cores parallelize computations in GPUs?

Technical

Hardware-Software Tradeoffs

Describe a project where you balanced performance vs. resource constraints.

Behavioral

Design a Music Recommendation System

How would you build a "Discover Weekly" playlist algorithm?

Coding

Explain Audio Streaming

How does Spotify minimize latency while streaming music?

Technical

User-Centric Design

Tell us about a time you improved a product based on user feedback.

Behavioral

Implement a Photo Filter

Write code to apply a grayscale/sepia filter to an image.

Coding

Explain PDF Rendering

How does Adobe Reader render PDFs efficiently?

Technical

Creative Problem Solving

Describe a time you solved a problem in an unconventional way.

Behavioral
×

Welcome!

Please login or register to continue.