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.16.2026
Showing 20 results
Role
Coinbase logo
Coinbase
Hard
Software Engineer

Implement a crypto order management system

You are building an in-memory crypto order management system. You must parse commands from standard input and print outputs for query commands. Order ...

Coding & Algorithms
13
0
252 people solved
Mar 1, 2026
IBM logo
IBM
Medium
Software Engineer Locked

Reverse last two characters with space

This question evaluates basic string manipulation and character indexing skills, including handling of edge cases when treating input as a raw charact...

Coding & Algorithms
7
0
55 people solved
Mar 1, 2026
MathWorks logo
MathWorks
Easy
Software Engineer

Maximize minimum after K decrements

You are given an integer array A of length N and an integer K. You must perform exactly K operations. In each operation, choose any index i and do A[i...

Coding & Algorithms
3
0
52 people solved
Mar 1, 2026
OpenAI logo
OpenAI
Hard
Software Engineer Locked

Implement follow graph with snapshots

This question evaluates a candidate's ability to design efficient persistent data structures and versioned state management for time-travel queries in...

Coding & Algorithms
27
1
205 people solved
Mar 1, 2026
Axon logo
Axon
Medium
Software Engineer

Find accessible devices via nested memberships

Problem You are given an access model with nested groups: - A group can contain users and also contain other groups (subgroups). - A user can own or b...

Coding & Algorithms
14
0
96 people solved
Mar 1, 2026
DoorDash logo
DoorDash
Medium
Software Engineer

Design hierarchical path store with create/set/get/remove

Design a hierarchical key-value path store supporting four operations on UNIX-style absolute paths (e.g., "/a/b"). Implement: 1) create(path, value): ...

Coding & Algorithms
3
0
61 people solved
Aug 13, 2025
Marshall Wace logo
Marshall Wace
Medium
Software Engineer

Compute max events in any 60-second window

Design a function that, given a non-decreasing list of integer timestamps (seconds), returns the maximum number of events occurring within any contigu...

Coding & Algorithms
10
0
84 people solved
Aug 13, 2025
Meta logo
Meta
Hard
Software Engineer Locked

Guide a mouse to find cheese with APIs

This question evaluates the ability to reason about graph exploration and stateful API interaction in an unknown 2D grid, assessing competencies in se...

Coding & Algorithms
3
0
47 people solved
Nov 12, 2025
Uber logo
Uber
Medium
Software Engineer

Produce a valid deployment order

You are given N services and a list of dependency pairs (A, B) meaning service B must be deployed before service A. Compute any valid deployment order...

Coding & Algorithms
15
0
106 people solved
Aug 12, 2025
Anthropic logo
Anthropic
Medium
Software Engineer Locked

Implement crawler and file deduplication

This question evaluates competencies in concurrent programming, web crawling and graph traversal, thread safety, rate limiting, I/O-efficient file ded...

Coding & Algorithms
11
0
98 people solved
Feb 28, 2026
Pinterest logo
Pinterest
Medium
Software Engineer

Solve set equality and ad log top‑K

Problem Set (Coding) 1) Check whether two sets are equal You are given two integer arrays A and B that represent sets, except they may contain duplica...

Coding & Algorithms
19
0
198 people solved
Nov 11, 2025
Oracle logo
Oracle
Medium
Software Engineer

Find users with at least one valid session

You are given: - A list of log entries logs, where each entry is a string in the format: ` "userId action timestamp" ` - userId is a non...

Coding & Algorithms
6
0
58 people solved
Nov 11, 2025
TikTok logo
TikTok
Medium
Software Engineer

Solve Topological Sort and Anagram Indices

1) Given a directed graph (n vertices, m edges), return a topological ordering if one exists. If the graph contains a cycle, detect it and explain how...

Coding & Algorithms
3
0
52 people solved
Aug 11, 2025
Reddit logo
Reddit
Medium
Software Engineer

Implement a sliding-window rate limiter

Problem Design and implement an in-memory rate limiter using a sliding time window. You are given a stream of requests. Each request has: - key (e.g.,...

Coding & Algorithms
11
0
129 people solved
Nov 10, 2025
Snapchat logo
Snapchat
Medium
Software Engineer

Implement XML tokenizer and parser with operations

Implement XML tokenizer and parser with operations You are given either (a) a raw XML-like string such as <catalog><book><author>Gambardella, Matthew<...

Coding & Algorithms
3
0
67 people solved
Aug 10, 2025
Lowe's logo
Lowe's
Medium
Software Engineer

Explain Python internals and practices

Explain Python internals and practices Answer the following Python deep-dive questions: - Explain the Global Interpreter Lock (GIL) and its impact on ...

Coding & Algorithms
3
0
35 people solved
Aug 10, 2025
Affirm logo
Affirm
Hard
Software Engineer Locked

Compute Balances and Minimize Settlements

This question evaluates transactional data aggregation and net-balance computation skills alongside combinatorial optimization for minimizing settleme...

Coding & Algorithms
10
0
84 people solved
Feb 27, 2026
Rippling logo
Rippling
Hard
Software Engineer AI Locked

Build a Flexible Expense Rules Engine

This question evaluates designing extensible rule engines, predicate composition, data modeling for expense- and trip-level aggregation, and reasoning...

Coding & Algorithms
17
0
125 people solved
Feb 27, 2026
OpenAI logo
OpenAI
Medium
Software Engineer

Implement in-memory KV store with serialization

Implement an in-memory key-value store in Python that supports setting and retrieving values and can serialize and deserialize the entire store. Defin...

Coding & Algorithms
40
0
362 people solved
Aug 8, 2025
Robinhood logo
Robinhood
Medium
Software Engineer

Count Referral Descendants

You are building a referral analytics feature. Each referral relationship is represented as a directed pair (referrer, referredUser), meaning referrer...

Coding & Algorithms
16
0
128 people solved
Feb 26, 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