PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep

Software Engineer Coding & Algorithms Interview Questions

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

Questions
2.3k
Companies
296
Updated
06.10.2026
2.3k Questions 296 Companies06.10.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
Anthropic logo
Anthropic
Medium
Software Engineer

Implement crawler, dedup, and persistent LRU

Question LeetCode 1236. Web Crawler: Crawl web pages starting from a given URL within the same hostname. LeetCode 609. Find Duplicate File in System: ...

Coding & Algorithms
79
0
544 people solved
Aug 4, 2025
Ramp logo
Ramp
Medium
Software Engineer

Find an Exit in a URL Maze

You are given a starting URL for a web-based maze. Each URL represents one room in the maze. Your task is to write a program that discovers whether th...

Coding & Algorithms
33
0
406 people solved
Apr 21, 2026
Moveworks logo
Moveworks
Medium
Software Engineer

Compute Jaccard similarity between two strings

Jaccard Similarity of Two Strings Given two strings a and b, compute their Jaccard similarity based on token sets. Tokenization rules - Convert to low...

Coding & Algorithms
7
0
123 people solved
Dec 15, 2025
Rippling logo
Rippling
Medium
Software Engineer

Compute peak busy dashers with overlaps

You are given delivery logs as (dasherId, startTime, endTime) with integer times, where endTime is exclusive. A single dasher may accept multiple orde...

Coding & Algorithms
14
0
190 people solved
Aug 10, 2025
NVIDIA logo
NVIDIA
Medium
Software Engineer Locked

Design and implement an LRU cache

Problem Design and implement an LRU (Least Recently Used) Cache that supports the following operations in O(1) average time: - get(key) → returns the ...

Coding & Algorithms
5
0
73 people solved
Feb 8, 2026
Hebbia logo
Hebbia
Medium
Software Engineer

Implement Ultimate Tic-Tac-Toe

Design and implement a playable Tic-Tac-Toe system in two parts. Part 1: Standard Tic-Tac-Toe Implement a TicTacToe class for a standard 3x3 board. Re...

Coding & Algorithms
0
0
2 people solved
May 22, 2026
Character logo
Character
Medium
Software Engineer

Find Shortest Covering Substring

Given two strings source and target, find the shortest contiguous substring of source that contains every character from target, including duplicate o...

Coding & Algorithms
0
0
2 people solved
May 22, 2026
OpenAI logo
OpenAI
Medium
Software Engineer

Implement follow graph with snapshots and recommendations

Design and implement an in-memory “social network” component that supports following/unfollowing, point-in-time (snapshot) queries, and a simple recom...

Coding & Algorithms
36
0
530 people solved
Feb 2, 2026
Coinbase logo
Coinbase
Medium
Software Engineer

Paginate forward and backward through results

You are asked to extend a basic pagination system to support forward and backward navigation, similar to a cursor-based API. You are given: - A zero-i...

Coding & Algorithms
16
0
144 people solved
Dec 8, 2025
Disney logo
Disney
Medium
Software Engineer Locked

Filter ads by a single rule

Single-Rule Ad Filter Context When a user watches content, the system needs to filter an ad pool to find ads that match one rule. Implement a lightwei...

Coding & Algorithms
10
0
90 people solved
Jan 22, 2026
Citadel logo
Citadel
Hard
Software Engineer Locked

Determine order of alien alphabet

You are given a list of words sorted in lexicographic order according to an unknown ("alien") alphabet. Task Return one valid ordering of the unique c...

Coding & Algorithms
12
0
122 people solved
Jan 6, 2026
Harvey logo
Harvey
Medium
Software Engineer

Design Spreadsheet Formula Cells

Design an in-memory spreadsheet that supports assigning either literal integer values or formulas to cells. Cells are identified by names such as A1, ...

Coding & Algorithms
2
0
27 people solved
Apr 4, 2026
Microsoft logo
Microsoft
Medium
Software Engineer Locked

Find maximum collinear points

Given a list of 2D points with integer coordinates, return the maximum number of points that lie on the same straight line. Input - points: a list of ...

Coding & Algorithms
5
0
90 people solved
Feb 12, 2026
Google logo
Google
Medium
Software Engineer

Maximize Boundary-Difference Subarray Sum

Given an integer array nums and an integer k, find the maximum possible sum of a non-empty contiguous subarray whose first and last elements differ by...

Coding & Algorithms
2
0
8 people solved
Apr 11, 2026
Decagon logo
Decagon
Medium
Software Engineer Locked

Design Sliding-Window Average Tracker

Design a class that tracks records in a sliding time window. Implement the following API: - init(time_window): initialize the object with a window siz...

Coding & Algorithms
5
0
64 people solved
Jan 31, 2026
xAI logo
xAI
Medium
Software Engineer Locked

Compute total active time per Twitter Space

You are given an event log of user activity in Twitter Spaces. Each record has: - operation: one of create, join, leave - space_id: identifier of the ...

Coding & Algorithms
15
0
113 people solved
Feb 11, 2026
Cisco logo
Cisco
Hard
Software Engineer

Implement an LFU Cache

Design and implement a Least Frequently Used cache. The cache has a fixed positive capacity and supports the following operations: - get(key): Return ...

Coding & Algorithms
0
0
2 people solved
May 21, 2026
Nimble logo
Nimble
Hard
Software Engineer

Implement a TTL LRU Cache

Design and implement an in-memory bounded cache with per-entry expiration and LRU eviction. The cache stores uint32_t keys and std::string values. Eac...

Coding & Algorithms
0
0
2 people solved
May 21, 2026
Guidewire logo
Guidewire
Medium
Software Engineer

Minimize Boys Needed Beside Girls

You are given a row of seats in a kindergarten classroom, represented by a string seats. - G means the seat is occupied by a girl. - - means the seat ...

Coding & Algorithms
0
0
3 people solved
May 21, 2026
Meta logo
Meta
Medium
Software Engineer

Solve Tree Columns And Maze Variants

Answer the following coding tasks from the interview. 1. Binary-tree column grouping: Given the root of a binary tree, group node values by vertical c...

Coding & Algorithms
1
0
13 people solved
May 21, 2026
Previous1...121314...113Next
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,500+ 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.