PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep

Software Engineer Coding & Algorithms Interview Questions

Practice 2,306 real Coding & Algorithms interview questions for Software Engineer roles. From companies including Meta, Amazon, Google, Uber, Microsoft.

Questions
2.3k
Companies
300
Updated
06.24.2026
2.3k Questions 300 Companies06.24.2026
PLTCHK testimonial
PLTCHK

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

_The_TaNk_ testimonial
_The_TaNk_

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

Chris testimonial
ChrisSenior SWE, LinkedIn

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

sleepy33 testimonial
sleepy33

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

Jake testimonial
JakeSenior ML Engineer, Lyft

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

nuggetlord testimonial
nuggetlord

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

Carlos testimonial
CarlosFull Stack, Shopify

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

boba.tea.vibes testimonial
boba.tea.vibes

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

Andy testimonial
AndySWE-II, Google

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

couchpotato99 testimonial
couchpotato99

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

Shruti testimonial
ShrutiData Engineer, Salesforce

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

midnightramen testimonial
midnightramen

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

Bianca testimonial
BiancaFrontend Eng, Figma

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

tambrahm007 testimonial
tambrahm007

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."

toa testimonial
toa

"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."

PLTCHK testimonial
PLTCHK

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

_The_TaNk_ testimonial
_The_TaNk_

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

Chris testimonial
ChrisSenior SWE, LinkedIn

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

sleepy33 testimonial
sleepy33

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

Jake testimonial
JakeSenior ML Engineer, Lyft

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

nuggetlord testimonial
nuggetlord

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

Carlos testimonial
CarlosFull Stack, Shopify

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

boba.tea.vibes testimonial
boba.tea.vibes

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

Andy testimonial
AndySWE-II, Google

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

couchpotato99 testimonial
couchpotato99

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

Shruti testimonial
ShrutiData Engineer, Salesforce

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

midnightramen testimonial
midnightramen

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

Bianca testimonial
BiancaFrontend Eng, Figma

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

tambrahm007 testimonial
tambrahm007

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."

toa testimonial
toa

"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."

Showing 20 results
Role
Fuse Energy logo
Fuse Energy
Medium
Software Engineer

Implement spreadsheet cells with formulas

Design an in-memory spreadsheet that supports these operations on cells such as A1, B2, and ranges such as A1:B2: - Set(cell, value): assign an intege...

Coding & Algorithms
31
0
229 people solved
Jan 11, 2026
Applied logo
Applied
Hard
Software Engineer

Merge Overlapping Collinear Segments

You are given a list of 2D geometric segments: vector<vector<pair<double, double>>> segments Each inner list represents one segment and contains at le...

Coding & Algorithms
5
0
48 people solved
Apr 15, 2026
Citadel logo
Citadel
Medium
Software Engineer Locked

Implement array merge, round-robin scheduler, and trading simulator

You are given three independent coding prompts. For each prompt, clearly define your function/class interfaces, handle edge cases, and analyze time/sp...

Coding & Algorithms
17
0
183 people solved
Jan 22, 2026
Chalk logo
Chalk
Medium
Software Engineer Locked

Compute rainwater accumulation on a height grid

Mountain Rainfall Accumulation You are given an m x n 2D integer grid elevation, where elevation[r][c] is the terrain height at cell (r, c). Assume 1 ...

Coding & Algorithms
23
0
362 people solved
Feb 11, 2026
Coinbase logo
Coinbase
Hard
Software Engineer Locked

Implement banking, knapsack, and pagination tasks

Problem A — Banking system command processor Implement an in-memory banking system that processes a sequence of commands in timestamp order. Entities ...

Coding & Algorithms
24
0
280 people solved
Jan 22, 2026
Dropbox logo
Dropbox
Medium
Software Engineer Locked

Build a hit/miss word guessing game

Two players play a word guessing game. - Player A chooses a secret word. - Player B repeatedly guesses single letters. - After each guess, the game re...

Coding & Algorithms
7
0
155 people solved
Jan 22, 2026
xAI logo
xAI
Hard
Software Engineer Locked

Find kth element and sliding-window kth in stream

You are given two related tasks. Task 1: Kth element in an array Given an integer array nums of length n and an integer k (1-indexed), return the k-th...

Coding & Algorithms
7
0
117 people solved
Jan 22, 2026
Uber logo
Uber
Medium
Software Engineer

Implement Last-Click Attribution APIs

Design and implement an in-memory last-click attribution service. There are two event types: - click(timestamp, userId, campaignId) - conversion(times...

Coding & Algorithms
0
0
7 people solved
May 9, 2026
Bloomberg logo
Bloomberg
Medium
Software Engineer

Find invalid transactions in time-sorted input

Problem You are given a list of transaction records, already sorted in non-decreasing order by time. Each transaction is a string in the form: "name,t...

Coding & Algorithms
19
0
140 people solved
Dec 15, 2025
Microsoft logo
Microsoft
Medium
Software Engineer Locked

Implement Calendar, Tokenizer, and Meeting Optimizer

Implement the following three coding tasks. 1. Calendar insertion check You are given a list of existing calendar events, where each event is a hal...

Coding & Algorithms
4
0
66 people solved
Feb 22, 2026
Uber logo
Uber
Hard
Software Engineer

Schedule Non-Overlapping Meetings Efficiently

Implement a meeting scheduler that stores meetings as half-open intervals [start, end), where start and end are integer timestamps and start < end. Th...

Coding & Algorithms
7
0
54 people solved
May 2, 2026
Notion logo
Notion
Medium
Software Engineer

Implement text editor with undo/redo

Implement a TextDocument class that supports applying edit operations, reading the current content, and full undo/redo, based on the following Python ...

Coding & Algorithms
57
0
665 people solved
Sep 6, 2025
Ramp logo
Ramp
Medium
Software Engineer Locked

Implement wildcard querySelector to extract URL

Problem: Extract a hidden URL from a deeply nested DOM A webpage hides a URL by splitting it into individual characters stored in DOM elements. The DO...

Coding & Algorithms
36
0
301 people solved
Jan 18, 2026
Bytedance logo
Bytedance
Hard
Software Engineer

Count Target-Sum Paths in an N-ary Tree

You are given the root of an N-ary tree. Each node contains an integer value and a list of zero or more child nodes. You are also given an integer tar...

Coding & Algorithms
0
0
5 people solved
May 20, 2026
Glean logo
Glean
Hard
Software Engineer

Implement 2048 tilt move

Problem: Implement a 2048 “tilt” (move) operation You are given a 4×4 board for the game 2048. Each cell contains either 0 (empty) or a power of two (...

Coding & Algorithms
18
0
231 people solved
Feb 11, 2026
Uber logo
Uber
Medium
Software Engineer

Solve these algorithmic problems

You are given the following independent coding tasks. For each task, design an algorithm and implement a function that returns the requested output. -...

Coding & Algorithms
55
1
445 people solved
Feb 11, 2026
Apple logo
Apple
Medium
Software Engineer Locked

Solve linked list, grid BFS, and median queries

You are given three separate algorithmic tasks. 1) Reorder a linked list by odd/even positions Given the head of a singly linked list, reorder the nod...

Coding & Algorithms
24
0
288 people solved
Jan 22, 2026
Stripe logo
Stripe
Medium
Software Engineer Locked

Propagate runtime ID across API requests

Debug chained API requests by propagating a runtime ID You are given a sequence of 5 API requests that must be executed in order. - Request 1 (a POST)...

Coding & Algorithms
11
0
110 people solved
Jan 22, 2026
PayPal logo
PayPal
Medium
Software Engineer

Minimize a String Using Allowed Swaps

You are given a string s of lowercase English letters and an array pairs, where each element pairs[i] = [a, b] means you may swap the characters at in...

Coding & Algorithms
4
0
29 people solved
Apr 14, 2026
NVIDIA logo
NVIDIA
Easy
Software Engineer

Compute the Final Robot Score

You are given an array scores, where scores[i] is the score of the i-th robot. Robots repeatedly compete using the following rules: 1. Select the two ...

Coding & Algorithms
2
0
21 people solved
May 19, 2026
Previous1...789...116Next
Try
Popular Categories
SQL
Share & Earn

3 days of Premium, free

Post about PracHub on social, unlock a trial.

Submit a post
Daily Quest

Sign in to earn XP for every problem you solve.

PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.