Software Engineer Coding & Algorithms Interview Questions

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

2.7k Questions 325 Companies08.11.2026
Showing 20 results
Role
Shopify logo
Shopify
Easy
Software Engineer

Implement cache and gift assignment system

You are given two independent programming problems. --- Problem 1: Implement a bounded key–value cache Design a data structure that stores key–value p...

Coding & Algorithms
36
0
370 people solved
Oct 1, 2025
Roblox logo
Roblox
Medium
Software EngineerSenior+ Locked

Most Frequent Call Stack from Profiler Samples

This question evaluates a candidate's ability to design an efficient hashing and frequency-counting solution over sequences, along with careful handli...

Coding & Algorithms
1
0
13 people solved
Jun 10, 2026
DoorDash logo
DoorDash
Medium
Software Engineer Locked

Validate a Shopping Cart

This question evaluates the ability to implement robust input and business-rule validation for shopping-cart items, including data integrity checks, i...

Coding & Algorithms
7
0
51 people solved
Jun 10, 2026
Affirm logo
Affirm
Medium
Software Engineer

Aggregate Loans by Ultimate Parent Company

Aggregate Loans by Ultimate Parent Company Each company has at most one direct parent. For every company loan, follow the parent chain to its ultimate...

Coding & Algorithms
0
0
6 people solved
Apr 23, 2026
DoorDash logo
DoorDash
Medium
Software Engineer

Implement consistent hashing ring

Implement consistent hashing ring Implement consistent hashing for routing keys to servers. Provide APIs addNode(nodeId, weight), removeNode(nodeId), ...

Coding & Algorithms
17
0
141 people solved
Aug 9, 2025
Discord logo
Discord
Medium
Software Engineer

Implement an asyncio-based chat server

Async Chat Server (Python asyncio) Build a TCP chat server using Python's asyncio. The server listens on a given port and serves many concurrent clien...

Coding & Algorithms
43
0
288 people solved
Oct 25, 2025
Optiver logo
Optiver
Medium
Software Engineer

Explain OS processes, threads, and memory

Explain OS processes, threads, and memory Explain core operating system concepts: processes vs threads, context switching, and scheduling (preemptive ...

Coding & Algorithms
31
1
324 people solved
Jul 17, 2025
Affirm logo
Affirm
Medium
Software Engineer

Detect Fraud by Propagating Suspicious PII

Detect Fraud by Propagating Suspicious PII Process a stream of underwriting and fraud_flag events in order. Maintain a set of suspicious PII values dr...

Coding & Algorithms
2
2
18 people solved
Apr 19, 2026
Brex logo
Brex
Medium
Software Engineer

Debug and Explain Fixes

Given a small codebase with failing unit tests, identify the root causes of the failures, fix the bugs, and explain the defects you found. Add minimal...

Coding & Algorithms
17
0
296 people solved
Aug 14, 2025
Databricks logo
Databricks
Medium
Software Engineer

Track Customer Revenue and Referral Revenue

Track Customer Revenue and Referral Revenue Problem Implement a top-level function that processes an in-memory customer revenue tracker through a lite...

Coding & Algorithms
2
1
26 people solved
Apr 18, 2026
StackAdapt logo
StackAdapt
Medium
Software Engineer

Analyze time complexity for dictionary operations

Analyze the time complexity of the following dictionary/hash map operations. (a) Searching for a key: state average-case and worst-case time, and expl...

Coding & Algorithms
11
0
187 people solved
Sep 6, 2025
Microsoft logo
Microsoft
Easy
Software Engineer

Solve four classic algorithm problems

You are given four independent coding tasks. For each task, implement the required function. --- Problem 1: Zigzag level-order traversal of a binary t...

Coding & Algorithms
19
0
157 people solved
Nov 30, 2025
DoorDash logo
DoorDash
Medium
Software EngineerSenior+ AI Locked

Implement Timeout Refund Workflow

This question evaluates skills in deterministic workflow design, idempotency and retry-safety for external payment integrations, state-transition corr...

Coding & Algorithms
2
1
19 people solved
Jun 5, 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
8
0
88 people solved
Apr 15, 2026
Stripe logo
Stripe
Medium
Software Engineer

Generate Account Email Notifications

You are building an email notification scheduler for user accounts. You are given: 1. A list of user accounts. Each account has: - account_id - ...

Coding & Algorithms
5
0
49 people solved
Apr 14, 2026
Goldman Sachs logo
Goldman Sachs
Medium
Software Engineer

Count segments and optimize 3-server assignment

There are two independent programming tasks. --- Problem 1: Transaction Segments You are given: - An integer n, the length of an array. - An integer k...

Coding & Algorithms
19
2
264 people solved
Dec 7, 2025
Whatnot logo
Whatnot
Medium
Software Engineer Locked

Content Safety Filter

This coding question tests string parsing, tokenization logic, and pattern-matching algorithm design in a practical content moderation context. It eva...

Coding & Algorithms
1
0
12 people solved
Jun 24, 2026
Bloomberg logo
Bloomberg
Medium
Software Engineer

Generate all strings by expanding wildcards

Problem Given a string s consisting only of characters '0', '1', and '', replace every '' with either '0' or '1' and return all possible resulting bin...

Coding & Algorithms
17
1
148 people solved
Dec 15, 2025
Bytedance logo
Bytedance
Hard
Software Engineer

Find the Minimum Number of Meeting Rooms

Find the Minimum Number of Meeting Rooms You are given meeting intervals [start, end], where start < end. A room can host at most one meeting at a tim...

Coding & Algorithms
1
0
9 people solved
Apr 28, 2026
Anthropic logo
Anthropic
Medium
Software Engineer Locked

LRU Cache

This question evaluates a candidate's ability to design a data structure combining a hash map with a doubly linked list to achieve constant-time acces...

Coding & Algorithms
2
0
13 people solved
Jun 23, 2026

Explore more Software Engineer Coding & Algorithms interview questions

Real questions from candidate reports, grouped by company, topic and role.

By company
Other categories for Software Engineer
Coding & Algorithms questions for other roles
Browse all