interviewquestions.

Big tech

Amazon4 rounds · $110.5k-$160kApple4 rounds · $145kGoogle6 rounds · $118k-$170kMeta6 rounds · $137kMicrosoft5 rounds · $84.2k-$165.2k

US and global tech

Netflix6 rounds · $100k-$300kUber5 rounds · $150k-$158kAirbnb6 rounds · $128k-$142kStripe7 rounds · $122.1k-$134.4kSalesforce3 rounds · $110k-$153kAdobe3 rounds · $76.7k-$152.2kLinkedIn6 rounds · $154kIntuit4 rounds · $55.5-$75/hrCisco4 rounds · $92.1k-$136kAtlassian3 rounds · $122.4k-$159.8kSpotify6 rounds · $125.6k-$179.4kTwitter4 rounds · $127k-$297kOpenAI5 rounds · $230k-$490kPalantir5 rounds · $145k-$155kTesla5 rounds · $140k-$300kTikTok5 rounds · $128k-$256kDatabricks6 rounds · $137.8k-$155kSnowflake5 rounds · $42-$60/hrDatadog6 rounds · $100k-$110kCloudflare6 rounds · $150k-$216kCoinbase6 rounds · $60/hrDoorDash6 rounds · $107.4k-$158kRoblox6 rounds · $153kEpic Systems5 rounds · $110kShopify5 rounds · $110kRobinhood6 rounds · $166k-$195k

Wall Street, banks and payments

Goldman Sachs4 rounds · $110k-$115kJP Morgan4 rounds · $95k-$125kMorgan Stanley3 rounds · $70k-$110kBank of America4 rounds · $94.2kCiti5 rounds · $80k-$115kWells Fargo5 rounds · $48.08/hrCapital One5 rounds · $140kBlackRock4 rounds · $105k-$125kBloomberg5 rounds · $158kD. E. Shaw4 rounds · $25kAmerican Express3 rounds · $78k-$124.8kMastercard2 rounds · $72k-$115kVisa4 rounds · $108k-$120kPayPal4 rounds · $116.5k-$173.3kDeutsche Bank4 rounds · $100kBarclays3 rounds · $110kHSBC5 rounds · ₹6-10 LPAArcesium4 rounds · $10kCitadel5 rounds · $200k-$250kJane Street4 rounds · $300kHudson River Trading5 rounds · $300kSusquehanna (SIG)5 rounds · $300kFidelity Investments4 rounds · $92kPNC5 rounds · $39.1k-$126.5kCharles Schwab4 rounds · $26.01/hrEdward Jones5 roundsVanguard4 rounds · $52k-$55kU.S. Bank5 rounds · $20-$22/hr

Consulting and Big 4

McKinsey4 rounds · $120kBCG4 rounds · $110kBain4 rounds · $120kDeloitte3 rounds · $75k-$78kEY3 rounds · $75k-$100kKPMG3 rounds · $78k-$90kPwC3 rounds · $61k-$100kAccenture5 rounds · ₹4.5-6.5 LPAIBM3 rounds · $121k-$181.4kZS Associates5 rounds · $90k-$102k

Enterprise and cloud

Oracle3 rounds · $61.2k-$141.2kServiceNow4 rounds · $130k-$136kDell3 rounds · $101.7k-$131.7kVMware5 rounds · ₹18-30 LPASAP5 rounds · ₹18-28 LPAAkamai5 rounds · $114.3k-$136.3kADP4 rounds · ₹6-11 LPAOptum4 rounds · $58.8k-$105k

Semiconductors and hardware

NVIDIA3 rounds · $100k-$166.75kIntel3 rounds · $105.7k-$149.2kQualcomm3 rounds · $122.8k-$184.2kTexas Instruments3 rounds · $100k-$137.5kCadence3 rounds · $74.2k-$137.8kSynopsys5 rounds · $92.6kMathWorks4 rounds · $100k-$130kSamsung3 rounds · ₹14-28 LPAAMD5 rounds · $119k-$170k

Retail and industrial

Walmart4 rounds · $80k-$155kTarget4 rounds · $34/hrHoneywell4 rounds · $68k-$115kSiemens4 rounds · $32.69-$58.84/hrBosch3 rounds · ₹6-9 LPAABB5 rounds · $80kCaterpillar7 rounds · $89.2k-$145kSchneider Electric4 rounds · $84k

Aerospace and defense

Boeing6 rounds · $82k-$89kLockheed Martin5 rounds · $91kNorthrop Grumman4 rounds · $62.3k-$114.4kRaytheon4 rounds · $68.9k-$144.2kSpaceX5 rounds · $125k-$145kBooz Allen Hamilton6 rounds · $52.9k-$108kLeidos5 rounds · $57.9k-$125.7kGeneral Dynamics6 rounds · $19.55-$34.5/hrAnduril Industries4 rounds · $112k-$149k

Telecom, media and consumer brands

Verizon5 rounds · $16-$21/hrT-Mobile5 rounds · $19.5/hrAT&T5 rounds · $21.43-$24.95/hrComcast6 rounds · $19/hrDisney5 roundsProcter & Gamble5 rounds · $85k-$122.2kPepsiCo5 rounds · $21.07-$25.8/hrThe Coca-Cola Company (and bottlers)5 rounds · $19.75-$27/hrNike5 rounds · $17/hr

Insurance, healthcare and pharma

State Farm6 rounds · $63.1k-$71.7kGEICO7 rounds · $20.65-$25.81/hrProgressive6 rounds · $54k-$63.5kUSAA6 rounds · $43.8k-$45.8kHumana5 rounds · $71.1k-$97.8kKaiser Permanente5 rounds · $38.15-$40.14/hrHCA Healthcare4 rounds · $19.29-$24.81/hrJohnson & Johnson5 rounds · $23.5-$52.5/hrPfizer4 rounds · $76k-$199.6k

Stores, grocery and pharmacies

Costco5 rounds · $20-$32.9/hrKroger4 rounds · $17-$26.85/hrPublix4 roundsTrader Joe's4 rounds · $16-$20/hrWhole Foods Market5 rounds · $17-$25.4/hrALDI (US)5 rounds · $18-$18.5/hrH-E-B6 roundsDollar General5 rounds · $18.31-$18.56/hrHome Depot5 rounds · $18.5-$21.5/hrLowe's5 rounds · $15.92-$16.15/hrCVS Health6 rounds · $16.5-$25/hrWalgreens5 rounds · $19.5-$23/hrBest Buy4 rounds · $16.9-$21.45/hrTJX (TJ Maxx, Marshalls, HomeGoods)5 rounds · $12.75-$13.25/hrMacy's5 rounds · $15-$19.51/hrKohl's4 rounds · $15/hrNordstrom4 rounds · $17.7-$21.9/hrSephora5 rounds · $22.6-$26/hrUlta Beauty5 rounds · $16.9-$24/hrDick's Sporting Goods5 rounds · $12.5-$31.5/hrPetSmart5 rounds · $15.08-$22.08/hrlululemon4 rounds

Restaurants and coffee

Starbucks4 rounds · $15.25-$24.69/hrChick-fil-A5 rounds · $15-$18/hrChipotle4 rounds · $20-$21/hrMcDonald's4 rounds · $15.5-$19.89/hrTaco Bell4 rounds · $14.42-$22.04/hrWendy's4 rounds · $11.5-$22.29/hrBurger King4 rounds · $12-$19.5/hrDunkin'3 rounds · $15-$20/hrPanera Bread4 rounds · $15-$20/hrDomino's4 rounds · $9/hr

Airlines, hotels and delivery

American Airlines5 rounds · $37.91/hrUnited Airlines5 rounds · $37.1/hrSouthwest Airlines5 rounds · $32.62/hrDelta Air Lines5 roundsMarriott International4 rounds · $16-$22/hrHilton4 rounds · $21/hrEnterprise Mobility (Enterprise Rent-A-Car)5 rounds · $62.7kFedEx4 rounds · $17.75-$18.25/hrUPS5 rounds · $21/hrUSPS (United States Postal Service)6 rounds

India: product companies and startups

Flipkart5 rounds · ₹22-28 LPAPaytm4 rounds · ₹16-22 LPASwiggy4 rounds · ₹16-22 LPAZoho6 rounds · ₹5-7 LPAZomato4 rounds · ₹18-25 LPAMeesho4 rounds · ₹25-35 LPANykaa4 rounds · ₹10-18 LPAOLA4 rounds · ₹16-22 LPACRED5 rounds · ₹18-25 LPAGroww5 rounds · ₹15-28 LPAPhonePe5 rounds · ₹18-25 LPARazorpay4 rounds · ₹18-25 LPAZerodha4 rounds · ₹12-25 LPADream114 rounds · ₹15-30 LPABrowserStack5 rounds · ₹15-28 LPAFreshworks4 rounds · ₹20-28 LPABlinkit5 rounds · ₹18-25 LPADunzo5 rounds · ₹12-18 LPALicious4 rounds · ₹12-18 LPAUrban Company4 rounds · ₹18-25 LPABigBasket4 rounds · ₹6-10 LPABYJU'S4 rounds · ₹4-8 LPADelhivery4 rounds · ₹10-20 LPAUnacademy5 rounds · ₹12-18 LPAJuspay5 roundsLenskart5 rounds

India: IT services and analytics

TCS4 rounds · ₹3.4-3.6 LPAInfosys3 rounds · ₹3.6-4.5 LPAWipro3 rounds · ₹4-4.5 LPAHCL3 rounds · ₹4-4.5 LPATech Mahindra6 rounds · ₹3.5-4.5 LPACognizant4 rounds · ₹4-4.5 LPACapgemini4 roundsThoughtworks4 rounds · ₹10-18 LPAAmdocs4 rounds · ₹5-7 LPACGI5 rounds · ₹4.5-7 LPACoforge4 rounds · ₹4.5-7 LPADXC Technology4 rounds · ₹4-4.5 LPAEPAM6 rounds · ₹8-14 LPAGenpact4 rounds · ₹3-4.5 LPAGlobalLogic4 rounds · ₹5-9 LPAGlobant3 rounds · ₹7-12 LPAHexaware6 rounds · ₹4 LPALTTS3 rounds · ₹4-4.5 LPAMindtree3 rounds · ₹4.0-4.5 LPAmPhasis5 rounds · ₹4-5 LPANagarro4 rounds · ₹6-10 LPANTT Data4 rounds · ₹4-5.5 LPAPersistent Systems4 rounds · ₹5-8 LPAPublicis Sapient3 rounds · ₹8-12 LPAVirtusa4 rounds · ₹4-5.5 LPAZensar4 rounds · ₹4-6.5 LPABirlasoft4 rounds · ₹4-6.5 LPAEXL6 rounds · ₹5-9 LPAFractal Analytics5 rounds · ₹8-14 LPAMuSigma6 rounds · ₹6-9 LPATiger Analytics4 rounds · ₹8-14 LPAWNS6 rounds · ₹5.6 LeClerx6 rounds · ₹2.8-3.1 L

India: banks, conglomerates and PSUs

SBI6 rounds · ₹21.97 LHDFC Bank4 rounds · ₹4-6 LPAICICI Bank4 rounds · ₹6-8 LPAAxis Bank3 rounds · ₹5-10 LPABank of Baroda4 rounds · ₹4-8 LPACanara Bank5 rounds · ₹4-8 LPABajaj Finserv4 rounds · ₹8-12 LPAAirtel5 rounds · ₹6-12 LPAJio5 rounds · ₹6-14 LPAL&T4 rounds · ₹8-15 LPAReliance3 rounds · ₹7.5 LPAAdani4 rounds · ₹8-15 LPABHEL4 rounds · ₹6-10 LPAMahindra3 rounds · ₹8-14 LPAMaruti Suzuki4 rounds · ₹7-12 LPATata Motors4 rounds · ₹7-13 LPAISRO3 rounds · ₹8-12 LPADRDO6 rounds · ₹8-12 LPABARC3 rounds · ₹74,000/moBEL5 rounds · ₹10-14 LPANTPC4 rounds · ₹7.2-12 LPABPCL4 rounds · ₹12-16 LPAHPCL5 rounds · ₹17.7-18.1 LIOCL5 rounds · ₹12-17 LPAONGC4 rounds · ₹20-26 LPAcdac4 rounds · ₹6-12 LPA

Microsoft

Big tech · Redmond, Washington · Updated Oct 31, 2026

Microsoft interview process for IC2 engineers: Codility, Teams and AA

Microsoft’s interview process for US new grad software engineers (IC2) usually starts with a Codility coding assessment of two LeetCode medium problems, then a short recruiter or HR call, then a final loop of three or four 45-60 minute interviews on Microsoft Teams. Each interview opens with a few behavioral questions on growth mindset before a coding or design problem. Some loops end with an As Appropriate round, where a senior leader from another team can block the offer.

Microsoft’s own careers pages say the later steps vary by role and tell candidates to structure answers with STAR(R): Situation, Task, Action, Result and Reflection. That last R is where growth mindset gets scored.

Microsoft interview process

  1. Online assessmentVaries
  2. Recruiter or HR screen20-30 min
  3. Final loop of about 3 interviews45-60 min each
  4. As Appropriate round, some loops45-60 min
  5. OfferVaries

The Microsoft interview process for US new grads usually runs as below. Teams vary the order and number of rounds.

Round Duration What it tests
Online assessment Varies Codility test: two LeetCode medium coding problems in recent US reports, scored on hidden and performance tests
Recruiter or HR screen 20-30 min Resume, motivation, location and start date
Final loop of about 3 interviews 45-60 min each Coding (arrays, trees, recursion, bit manipulation), resume deep dive, behavioral questions on growth mindset
As Appropriate round, some loops 45-60 min AA round: judgment and culture fit with a senior leader from outside the team
Offer Varies Team, level, compensation

Microsoft new grad hiring process (Software Engineer IC2)

Microsoft’s hiring process for US new grads leads to Software Engineer roles at the IC2 level. One US IC2 posting asks for a bachelor’s degree in computer science or a related field with proven coding experience, or equivalent experience, and new full-time hires from university join Microsoft Aspire, an onboarding and development program of a year or more. For students still in school, Microsoft’s students page lists summer internships for bachelor’s, master’s, MBA and PhD students, the Explore internship for first- and second-year students, and a four-week Discovery program in Redmond or Atlanta for rising first-year students.

The Microsoft online assessment for many US new grads is a Codility coding test. A February 2025 US new grad who got an offer had a Codility screen, then a resume and HR round, then three interviews; an October 2025 Redmond candidate had two LeetCode medium problems in the OA.

The final loop is usually three interviews, virtual or onsite, each mixing coding problems with behavioral questions on growth mindset. A February 2025 Redmond new grad had about 15 minutes of behavioral questions first, then a Subsets problem with a bit-manipulation follow-up, with all three technical rounds on the same day. A September 2025 new grad described the three rounds as behavioral, technical and a “bar raiser” that started from system design questions about their resume. Some loops add an As Appropriate (AA) round with a senior leader from another team, and IC3 and above loops add low-level or system design.

The IC2 posting does not mention visa sponsorship, though it requires Microsoft’s background check and any customer or government security screening. Ask your recruiter about sponsorship before the final loop.

Microsoft recruiting process in 2026: what candidates report

Glassdoor has close to 2,500 Microsoft software engineer interview reports, with difficulty rated 3.2 out of 5 and an average of 29 days to hire. Reports posted in October 2026:

  • Redmond, WA (September 2026, offer, referral): three 60-minute interviews with 15-minute breaks. Every round opened with STAR-format behavioral questions before a technical question, and there were no LeetCode-style problems. Two months in total.
  • New York, NY (no offer, referral): four rounds with two LeetCode mediums and a system design round. The candidate’s advice: practice Microsoft-tagged mediums, review system design and know your resume.
  • San Francisco, CA (no offer): a first interview a few days after sending the resume, covering projects and internships plus two algorithm problems at about LeetCode medium level.
  • Recruiter-sourced (no offer): four rounds back to back, each starting with two or three behavioral questions. The behavioral part took 20-25 minutes, which left too little time to finish the implementation.

Microsoft Teams interview: format and setup

Microsoft runs its interviews on Microsoft Teams. Its virtual interviewing page asks candidates to install the Teams app rather than rely on the browser, use Edge or Chrome, test the camera, microphone and connection beforehand, and join from the meeting ID the recruiter sends. If the app fails, you can dial in with the toll-free number in the invite. Some technical interviews run on a separate third-party coding platform, which comes with its own setup instructions by email, and certain teams ask you to sign an NDA in your candidate Action Center before the interviews.

Plan for the behavioral questions eating into coding time. Several 2026 candidates say each Teams interview spent 15-25 minutes on behavioral questions before the coding problem, so keep each STAR answer to about two minutes.

Microsoft interview rounds and what each tests

Online assessment (Codility)

The first filter for most SDE applicants: 2-4 DSA problems, usually medium difficulty, on HackerRank or Codility, done under a strict timer. Some drives also add a handful of CS-fundamentals MCQs alongside the coding problems.

On Codility, many OAs include hidden performance tests after the visible cases - a solution that passes examples but runs in O(n²) when O(n log n) is expected often scores partial credit or zero. Candidates report losing offers at this stage despite “green” sample tests, so always state complexity aloud and optimize before submit.

Common questions

  • Array/string manipulation and two-pointer problems
  • Binary tree and graph traversal (BFS/DFS)
  • A harder problem involving dynamic programming or a design-a-data-structure task

Technical interview rounds

2-3 back-to-back rounds, each 45-60 minutes, typically live-coded on Microsoft Teams with a shared editor. Interviewers push for an optimal solution and clean code, not just a working brute force, and expect you to reason about complexity out loud.

Many IC3 and some new grad loops swap one pure DSA round for low-level design (LLD/OOD) - design a multi-floor parking lot, a notification module other services can call, meeting-room scheduling (minimum rooms), or undo/redo for an editor. Interviewers want class diagrams and working structure; jumping to a pattern name without clarifying requirements is a common rejection reason.

Microsoft LeetCode-style questions candidates report

  • Design an LRU cache with O(1) operations
  • Number of islands / connected components in a grid
  • Word ladder or shortest-transformation-sequence style graph problems
  • Merge k sorted lists
  • CS fundamentals: paging and virtual memory, database normalization and transactions, TCP handshake basics

The As Appropriate (AA) round

This is Microsoft’s most distinctive step, and it’s worth understanding on its own terms. Unlike a standard technical round, the AA interviewer is deliberately pulled from outside your target team - often a senior individual contributor or manager - specifically to give an independent read on whether you clear Microsoft’s bar for culture and judgment, not just skill. It typically only gets scheduled once the earlier rounds already look positive, which is why candidates often treat an AA invite itself as an encouraging sign - though it is still a real evaluation, not a formality.

Common questions

  • Tell me about a project you’re most proud of, and what you’d do differently
  • Describe a time you disagreed with your team’s technical direction
  • Tell me about a time you failed at something and what you changed afterward
  • How do you approach learning a new technology or domain under time pressure

Closing behavioral conversation

A shorter closing conversation covering motivation, logistics, and a couple of behavioral questions - often folded into or run right after the AA round rather than as a fully separate step.

Common questions

  • Why Microsoft?
  • Tell me about a time you struggled with something and how you grew from it
  • Tell me about a time you had to learn a new skill quickly
  • Where do you see yourself in the next few years?

STAR sample answers for these, using the STAR(R) format Microsoft recommends, are on the Microsoft behavioral questions page.

Growth mindset: what Microsoft is actually testing for

Since Satya Nadella became CEO, Microsoft has explicitly built its culture around a growth mindset - the idea that ability is developed through effort rather than fixed at birth - alongside customer obsession, diversity and inclusion, and cross-team “One Microsoft” collaboration. In an interview, this rarely shows up as a question that names the phrase directly. Instead it shows up as follow-up pressure on failure and feedback questions: interviewers are listening for a concrete change you made afterward, not just an honest description of what went wrong. A story that ends at “and I learned to be more careful” reads as weaker here than one that ends with a specific new habit or check you added to your process.

Customer obsession often appears as “tell me about a time you changed a plan because of user feedback” or “how did you measure impact for real users?” - tie metrics to someone outside your team (latency, crash rate, support tickets), not internal milestones alone.

Diversity and inclusion shows up as working across time zones, languages, or disagreeing respectfully with a senior engineer - prepare one story where you adapted communication or shared credit across teams (“One Microsoft”), not a generic diversity statement.

Recent AA and hiring-manager reports also ask how AI-assisted coding tools (Copilot, ChatGPT, etc.) fit your workflow - answer with guardrails: you use them for boilerplate and tests but still own design, review, and security.

Microsoft LeetCode-style coding questions with answers

Q: How do you design an LRU cache with O(1) get and put?

Combine a hash map with a doubly linked list. The hash map maps each key to the list node holding its value, giving O(1) lookup; the doubly linked list keeps nodes in recency order with the most recently used at the head and the least recently used at the tail. On get, look the key up in the map, unlink its node, and move it to the head. On put, if the key exists update the value and move it to the head; otherwise create a node, insert at the head, and add it to the map - and if the size now exceeds capacity, remove the tail node and delete its key from the map. The list must be doubly linked so that unlinking a node in the middle is O(1) without traversing to find its predecessor. Use sentinel head and tail nodes to avoid null checks at the boundaries.

Q: How do you count the number of islands in a grid?

Treat the grid as an implicit graph where each land cell (“1”) is a node connected to its four orthogonal neighbours. Scan every cell; when you find an unvisited land cell, increment your island counter and run a BFS or DFS from it, marking every reachable land cell as visited so it is never counted again. A common trick is to sink the island by overwriting each visited “1” with “0” instead of keeping a separate visited array. The time complexity is O(rows times cols) because each cell is examined a constant number of times. Space is O(rows times cols) in the worst case - the BFS queue or the DFS recursion stack when the whole grid is one island. If the interviewer adds diagonal connectivity, only the neighbour offsets change, from 4 directions to 8.

Q: Why is BFS the right algorithm for the Word Ladder problem?

Word Ladder asks for the shortest transformation sequence from a begin word to an end word, changing one letter at a time with every intermediate word in a dictionary. Model each word as a node with edges to every dictionary word one letter away; because all edges have weight 1, BFS explores words in order of distance from the start, so the first time you reach the end word you have the shortest path - DFS would find some path but not necessarily the shortest. Rather than comparing every pair of words, generate neighbours by replacing each position with each of the 26 letters and checking a hash set of the dictionary, which costs O(L times 26) per word for word length L. Total complexity is roughly O(N times L times 26) for N words, and marking words as visited when you enqueue them (not when you dequeue) prevents duplicate work. A bidirectional BFS from both ends is the standard follow-up optimization.

Q: How do you merge k sorted linked lists efficiently?

Push the head node of each of the k lists into a min-heap keyed by node value. Repeatedly pop the smallest node, append it to the output list, and push that node’s next node if it exists. Each of the N total nodes enters and leaves the heap once, and the heap never holds more than k entries, so the complexity is O(N log k) time and O(k) space. The naive approach of concatenating everything and sorting is O(N log N), and merging lists one at a time pairwise into an accumulator is O(N times k), so the heap is the answer interviewers are looking for. An equally good alternative is divide and conquer: merge the lists in pairs, halving the count each round, which also lands at O(N log k) with O(1) extra space.

Q: How do you approach a dynamic programming problem like coin change?

Coin change asks for the fewest coins summing to a target amount. Define the state first: dp[i] is the minimum number of coins needed to make amount i. The recurrence is dp[i] = 1 + min(dp[i - c]) over every coin c that is less than or equal to i, with the base case dp[0] = 0 and every other entry initialized to infinity, meaning unreachable. Fill the table from 1 up to the target; the answer is dp[amount], or -1 if it is still infinity. This is O(amount times number of coins) time and O(amount) space. The general method is the same for any DP: identify the state, write the recurrence that relates it to smaller states, establish base cases, choose bottom-up tabulation or top-down memoization, then look for a space optimization - many 2D tables collapse to one or two rows.

Q: What is virtual memory, and how does paging work?

Virtual memory gives every process its own contiguous address space that is larger than the physical RAM available, so processes do not need to know about each other’s memory or about fragmentation in physical memory. The address space is split into fixed-size pages, physical memory into equally sized frames, and a per-process page table maps page numbers to frame numbers, with the MMU doing the translation on every access and a TLB caching recent translations. When a process touches a page that is not resident, the hardware raises a page fault, the OS loads the page from disk into a free frame, updates the page table, and restarts the instruction. If no frame is free, a replacement policy such as LRU or Clock evicts one - writing it back to disk first if it is dirty. Excessive faulting because the working set does not fit in RAM is called thrashing.

Q: How would you design a rate limiter?

State the requirement first: allow at most N requests per user per time window, reject or queue the rest, and keep the check cheap because it runs on every request. A fixed-window counter stores a count per user per window in a hash map or Redis key with a TTL - simple, but it allows up to 2N requests around a window boundary. A sliding-window log stores request timestamps per user and evicts entries older than the window, which is exact but uses memory proportional to N. The token bucket is the usual production answer: each user has a bucket refilled at a steady rate up to a capacity, and each request consumes a token, which smooths traffic while still permitting short bursts. In a distributed setting the counters must live in a shared store like Redis with atomic increment-and-expire, since per-server counters would let a user get N requests through every server.

Q: How do you find the median of a stream of numbers?

Maintain two heaps: a max-heap holding the smaller half of the numbers seen so far, and a min-heap holding the larger half. For each new number, push it into the max-heap, then move the max-heap’s top into the min-heap, and if the min-heap has become larger than the max-heap move its top back - this keeps both halves ordered and their sizes within one of each other. The median is then the max-heap’s top when the total count is odd, or the average of the two heap tops when it is even. Each insertion is O(log n) and reading the median is O(1), with O(n) space. Sorting the buffer on every query would be O(n log n) per query, which is why the two-heap invariant is the expected answer.

Who does well in Microsoft interviews

Good fit: You enjoy medium DSA under a timer, you can explain trade-offs without buzzword fog, and you have at least one project you can defend end-to-end. Azure interest helps for some teams but is not required for every new grad loop. Candidates who already debug with print-tracing and complexity talk aloud adapt fastest to Codility performance tests.

Harder path: You only practiced IDE autocomplete coding; you freeze when Codility’s performance tests fail a correct-but-slow solution; you have zero STAR stories for collaboration or learning from failure. Switching languages every week also shows up as syntax stalls in Interview 1.

Red flags in the Microsoft loop

  • Correct-but-slow Codility solutions that fail performance tests you never practiced
  • Growth-mindset stories that end at “I learned to be careful” with no concrete habit change
  • Treating the AA round as a rubber stamp - it can veto or rescue
  • Switching languages weekly so syntax stalls in Interview 1
  • Zero questions about team, customers, or learning culture

A four-week Microsoft prep plan

A four-week plan for after you apply. Shorten it if your OA link arrives sooner.

  1. Week 1: One timed medium problem a day on arrays, strings, trees, graphs and DP. Write your own edge-case tests before you submit, since Codility does not show hidden test results.
  2. Week 2: Take the OA. State the time and space complexity before you code, so a correct but slow solution does not fail the performance tests.
  3. Week 3: Write growth-mindset STAR stories: a failure and what you changed, tough feedback, a technology you learned fast, and a disagreement. Prepare a “Why Microsoft?” tied to one product team.
  4. Week 4: Two mock loops of three interviews, each a coding problem plus 10-15 minutes of behavioral questions. Experienced candidates add one low-level design mock (parking lot, meeting-room scheduler) and one system design mock.

10-day version: Days 1-4 timed mediums with your own edge-case tests, days 5-6 object-oriented design basics, days 7-8 growth-mindset stories out loud, days 9-10 mock loops.

Microsoft pay in the US

Microsoft’s US postings for Software Engineer at the IC2 level list a typical base pay range of $84,200-$165,200 a year across the US, and $109,000-$180,400 in the San Francisco Bay Area and New York City, before bonus and stock.

Microsoft India: campus hiring, online assessment and pay

Microsoft India hires mostly for Hyderabad, Bengaluru and Noida through campus drives and internship conversion, where the online assessment is a firmer gate than in many US pipelines.

Microsoft India campus hiring in Hyderabad, Bengaluru and Noida

Microsoft India hires SDEs through campus drives, off-campus applications and internship conversion such as Microsoft Engage, mainly for Hyderabad, Bengaluru and Noida. The campus OA is usually 2-3 coding problems in about 75-110 minutes on Codility or HackerRank, and each drive sets its own eligibility, such as a CGPA above 7.0 with no backlogs. The India loop then runs technical rounds, the AA round for some candidates, and a separate HR or offer conversation.

Hiring tracks (India, candidate-reported): Microsoft Engage and summer internships frequently feed FTE SDE-1 (often L59–L60) offers after a separate loop; campus placement and careers.microsoft.com off-campus drives run parallel paths. Level naming (L60 IC2, etc.) varies by requisition - match your invite letter, not forum shorthand.

Microsoft online assessment in India: quick answers

Answers for Microsoft India campus, intern and off-campus drives, based on India candidate reports. Drives differ.

Question Answer
How many questions and how long? Usually 2 coding problems, sometimes 3. Reports range from 2 problems in 80 minutes (2024 SDE-2, Bangalore) and 2 in 110 minutes (2023 campus intern drive) to 3 in 75 minutes (2018 campus). 2024-2025 intern reports describe 2 medium or medium-hard DSA problems.
Which platform is it on? Codility is the platform named most in recent India reports (2024 Bengaluru intern, 2024 Bangalore SDE-2); some drives use HackerRank. Codility does not show how many hidden test cases you passed, so test edge cases and complexity before you submit.
Does it have negative marking? No candidate report describes any. Recent India OAs are coding-only and scored on test cases, including hidden performance tests.
Is there a sectional cutoff? Not for coding-only OAs, which have no sections. An older 2020 Associate Consultant test (aptitude, technical MCQs, coding and an essay) told candidates each section had its own cutoff.
How much is the cutoff? Not published; shortlists are relative to the batch. Eligibility is set per drive: one 2023 campus intern drive asked for CGPA above 7.0 with no backlogs from CSE, ECE and EEE, while a 2020 drive asked for 7.5 CGPA and 80% in Class X and XII. Check your placement notice.
What do the problems cover? Arrays, strings, trees, graphs, DP and recursion at LeetCode medium level. Reported examples: a grid DP for collecting coins (2024 intern), a grid shortest-path problem solved with Dijkstra and a backtracking problem (2023 campus).
Is it on-campus or off-campus? Both. Microsoft hires through campus drives, the careers site, referrals and internship conversion (including Microsoft Engage), and each route has its own OA invite.

Microsoft interview questions by role in India

India candidates on GeeksforGeeks, LeetCode Discuss, Glassdoor and Jointaro report these questions and topics.

Role Reported questions and topics
SWE intern (campus) Implement a queue (array vs linked list, front and rear pointers) and explain how you would compute a square root with binary search; Reverse Nodes in k-Group with a follow-up where the length is not a multiple of k; OOP theory (2023 campus). An anagram problem plus OS and networking questions (2025 Hyderabad). Graphs, trees and greedy in two DSA rounds, then an HR round on projects (2025 Bengaluru).
SDE-1 (new grad) Two Sum and Partition Equal Subset Sum after a project and behavioral opener; a money-exchange scenario that reduces to finding lower and upper bounds in a sorted array (2022 Bangalore). Two DSA rounds and one behavioral round with some OS, CN and DBMS questions (2023 Hyderabad).
SDE-2 (experienced) A Codility OA with 2 problems in 80 minutes, then DSA plus low-level design such as a parking lot, a notification module or meeting-room scheduling.
Associate Consultant Older reports describe a broader test: aptitude, technical MCQs, coding and an English essay, each section with its own cutoff (2020 Hyderabad).

Asked across every role: brute force first, then the optimized version with time and space trade-offs; a walk-through of one project; OS, DBMS and networking basics; and at least one growth-mindset story about failure or feedback.

Microsoft SDE vs Associate Consultant in India

Both roles show up in Microsoft India campus drives, but they are different jobs with different tests. SDE (software engineer) roles sit in Microsoft’s India development centers in Hyderabad, Bengaluru and Noida and are hired through a coding-only OA followed by DSA, CS-fundamentals and design rounds. Associate Consultant is a client-facing consulting role; older reports describe a broader test with aptitude, technical MCQs, coding and an essay before the interviews.

If your invite says Associate Consultant, expect more aptitude and communication weight and less hard DSA.

Microsoft India SDE-1 pay

Candidate-reported SDE-1 packages for Microsoft India commonly cite about ₹28-40 LPA total, with some reports higher depending on stock and location.

Frequently asked questions about Microsoft interviews

What is the Microsoft hiring process?

For US software engineers it usually runs: apply on careers.microsoft.com or through a referral, an online coding assessment (often Codility) or a recruiter screen, then a final loop of three or four 45-60 minute interviews on Microsoft Teams that mix behavioral questions with coding or design, sometimes an As Appropriate round with a senior leader, then an offer. Microsoft says the later steps vary by role, and your recruiter explains the format and timeline. Glassdoor’s average time to hire for software engineers is 29 days.

Does Microsoft have an online assessment for new grads?

Many US new grads do: recent reports describe a Codility coding test, then a short recruiter or HR conversation about the resume. The final loop is usually three interviews on one day, often about 45 minutes each, that mix LeetCode medium coding problems with behavioral questions on growth mindset. Some loops add an As Appropriate round with a senior leader. US postings at the entry level (IC2) list a base range of $84,200-$165,200 a year, higher in the Bay Area and New York.

How many rounds are there in the Microsoft interview?

Typically 5-6 touchpoints for SDE roles: an Online Assessment, 2-3 technical interviews, the As Appropriate (AA) round, and an HR/offer conversation. Senior or specialized roles often add a dedicated system design round in place of one DSA round.

What questions are asked in Microsoft interviews?

Coding rounds cover arrays/strings, trees and graphs, dynamic programming, and design-a-data-structure problems (LRU cache, rate limiter) at LeetCode medium-to-hard difficulty. CS fundamentals questions touch OS (paging, virtual memory), DBMS (normalization, transactions), and networking. Behavioral questions are built around Microsoft’s growth-mindset culture - interviewers often ask about a time you didn’t know something and how you closed that gap, not just about clean wins.

What is Microsoft’s As Appropriate (AA) round?

The AA round is Microsoft’s distinctive final interview: a Principal Engineer, Partner-level engineer, or Director from a different org than the one you’re interviewing for, brought in ‘as appropriate’ to validate the hire. It’s not a rubber stamp - reaching it is a good signal, but the AA interviewer holds real veto power over the offer, and a strong AA performance can also rescue a loop with mixed earlier feedback.

What is a Microsoft Teams interview like?

Microsoft holds most interviews on Microsoft Teams. Its careers site tells candidates to install the Teams app, use Edge or Chrome, test the camera and microphone, and join from the meeting link the recruiter sends; some technical interviews use a separate third-party platform with its own setup email. Some teams ask you to sign an NDA in the candidate Action Center before the interviews.

What is Microsoft’s growth mindset and how is it tested in interviews?

Growth mindset - the belief that ability is built through effort rather than fixed at birth - is one of the cultural pillars Microsoft has emphasized since Satya Nadella became CEO, alongside customer obsession, diversity and inclusion, and ‘One Microsoft’ collaboration. In interviews this shows up as behavioral questions like ‘tell me about a time you failed and what you learned,’ where interviewers listen for a concrete change in your approach afterward, not just an honest admission of the mistake.

How many questions are in the Microsoft online assessment and which platform is it on?

Usually 2 coding problems, sometimes 3, in roughly 75-110 minutes. Recent India reports name Codility most often, with HackerRank on some drives, and Codility runs hidden performance tests, so a correct but slow solution can lose marks.

Does the Microsoft online assessment have negative marking?

No candidate report describes negative marking. Recent India OAs are coding-only and scored on test cases. Microsoft does not publish a cutoff; eligibility such as CGPA above 7.0 with no backlogs is set per drive in the placement notice.

What is the Microsoft interview process for freshers in India?

Microsoft’s SDE loop for freshers typically runs: 1. Online Assessment (60-90 min) - 2-4 DSA problems on HackerRank/Codility. 2. Virtual interview loop (3-4 rounds, 45-60 min each, on Microsoft Teams) - DSA, CS fundamentals, and for some drives a light system design or LLD discussion. 3. The As Appropriate (AA) round (45-60 min) - a senior leader from outside the hiring team, invited only if the earlier rounds went well. 4. HR/offer discussion. Total timeline is roughly 4-8 weeks.

Does Microsoft hire freshers through campus placements in India?

Yes. Microsoft runs campus and off-campus SDE hiring in India, concentrated around its development centers in Hyderabad, Bangalore, and Noida, mainly recruiting from CSE/IT/ECE branches. Reported fresher SDE total compensation commonly falls in the roughly Rs 28-40 LPA range (base plus bonus and stock), though this varies by level, college tier, and location - treat any specific figure as an approximate, self-reported band rather than a guarantee.

Sources

Popular

↑↓ navigate↵ open