Software Engineer Coding & Algorithms Interview Questions

Practice 2,743 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
Google logo
Google
Hard
Software Engineer Locked

Return top-k subset sums in descending order

This question evaluates proficiency in combinatorial reasoning, algorithmic optimization for large search spaces, and efficient extraction of top-k va...

Coding & Algorithms
15
0
116 people solved
Jan 7, 2026
Expedia logo
Expedia
Hard
Software Engineer

Solve three interview coding problems

This interview report described three coding tasks: 1. Generate a run-length spoken sequence Start with s1 = "1". To build the next term, read th...

Coding & Algorithms
5
0
75 people solved
Jan 6, 2026
Sig logo
Sig
Medium
Software Engineer

Solve theatre seating and ticker extraction

Implement the following two coding tasks. 1. Allocate groups in a movie theater You are given an integer n representing the number of rows in a movie ...

Coding & Algorithms
4
0
73 people solved
Jan 6, 2026
Anthropic logo
Anthropic
Hard
Software Engineer

Crawl Same-Domain Links

Implement a Python function that crawls a website starting from a seed URL and returns all unique pages reachable within the same domain. Assume a hel...

Coding & Algorithms
16
0
114 people solved
Jan 6, 2026
Snowflake logo
Snowflake
Hard
Software Engineer Locked

Implement an in-memory file system

This question evaluates a candidate's ability to design and implement in-memory file system data structures and APIs, covering hierarchical directory ...

Coding & Algorithms
13
0
159 people solved
Jan 6, 2026
Google logo
Google
Medium
Software EngineerIntern Locked

Design a logger that returns top-K messages

This question evaluates skills in designing in-memory data structures and algorithms for frequency counting and interval querying, including extractin...

Coding & Algorithms
8
0
76 people solved
Jan 6, 2026
Google logo
Google
Medium
Software EngineerIntern Locked

Maximize sum without choosing adjacent elements

This question evaluates a candidate's understanding of array-based optimization and dynamic programming concepts for computing a maximum sum under non...

Coding & Algorithms
8
0
70 people solved
Jan 6, 2026
Meta logo
Meta
Hard
Software Engineer Locked

Count three-digit numbers with distinct digits

This question evaluates a candidate's understanding of digit manipulation, basic combinatorics, and implementation of value-range constraints in codin...

Coding & Algorithms
2
0
42 people solved
Jan 6, 2026
Pinterest logo
Pinterest
Medium
Software Engineer Locked

Implement sparse matrix storage, addition, and multiplication

This question evaluates understanding of sparse matrix representations, algorithmic efficiency for linear algebra operations, and the ability to manip...

Coding & Algorithms
10
0
136 people solved
Jan 6, 2026
Anchorage Digital logo
Anchorage Digital
Medium
Software Engineer Locked

Design a dynamic leaderboard with rank queries

This question evaluates proficiency with dynamic data structures and order-statistics, including maintaining sorted order under updates, deterministic...

Coding & Algorithms
21
0
189 people solved
Jan 6, 2026
Citadel logo
Citadel
Hard
Software Engineer Locked

Determine order of alien alphabet

This question evaluates the ability to infer ordering constraints among characters, model dependencies from ordered examples, and reason about edge ca...

Coding & Algorithms
15
0
149 people solved
Jan 6, 2026
Snowflake logo
Snowflake
Medium
Software Engineer Locked

Compute total time to finish all courses

This question evaluates competency in graph algorithms and scheduling, including dependency resolution, cycle detection, and aggregation of task durat...

Coding & Algorithms
5
0
92 people solved
Jan 6, 2026
MathWorks logo
MathWorks
Medium
Software EngineerIntern Locked

Minimize reduction cost and validate equal-sum pairs

This two-part question evaluates array manipulation and algorithmic problem-solving skills: the first task focuses on optimizing cumulative operation ...

Coding & Algorithms
2
0
41 people solved
Jan 6, 2026
Amazon logo
Amazon
Medium
Software EngineerIntern Locked

Find minimum total range-increment to sort

This question evaluates algorithmic problem-solving skills in array manipulation and optimization, focusing on reasoning about range-increment operati...

Coding & Algorithms
6
0
51 people solved
Jan 6, 2026
TikTok logo
TikTok
Hard
Software EngineerIntern Locked

Solve grid shortest-path and tree DP

This question pair evaluates proficiency in fundamental algorithmic techniques: finding shortest paths in a grid via breadth-first search and applying...

Coding & Algorithms
3
0
34 people solved
Jan 6, 2026
TikTok logo
TikTok
Medium
Software Engineer Locked

Calculate transaction fees from CSV records

This question evaluates parsing and processing of structured transaction data, implementing multi-dimension fee computation rules (provider-, transact...

Coding & Algorithms
13
1
98 people solved
Jan 6, 2026
Google logo
Google
Medium
Software EngineerIntern Locked

Find shortest subarray with at least k distinct

This question evaluates proficiency in array manipulation, frequency counting, and efficient tracking of distinct values within contiguous subarrays, ...

Coding & Algorithms
5
0
70 people solved
Jan 6, 2026
Google logo
Google
Medium
Software EngineerIntern Locked

Find shortest subarray with ≥k distinct integers

This question evaluates understanding of array algorithms, handling of distinct-element counting, and the ability to design time- and space-efficient ...

Coding & Algorithms
5
0
40 people solved
Jan 6, 2026
Google logo
Google
Medium
Software Engineer Locked

Answer parity-alternation range queries

This question evaluates a candidate's ability to reason about array properties and design efficient range-query processing for alternating-parity suba...

Coding & Algorithms
9
0
77 people solved
Jan 6, 2026
Google logo
Google
Medium
Software Engineer Locked

Implement iterator merging lists with filtering

This question evaluates iterator/generator design, sequence merging, stateful filtering and deduplication, checking a candidate's ability to maintain ...

Coding & Algorithms
4
0
69 people solved
Jan 6, 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