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
Reddit logo
Reddit
Medium
Software Engineer Locked

Merge Message Context Windows

This question evaluates a candidate's skill in designing efficient algorithms and appropriate data-structure use for merging overlapping message conte...

Coding & Algorithms
23
0
188 people solved
Jan 23, 2026
xAI logo
xAI
Hard
Software Engineer Locked

Maximize distinct values after unique ± offsets

This question evaluates combinatorial reasoning and algorithmic optimization skills, focusing on transforming arrays under distinct integer-offset con...

Coding & Algorithms
38
1
272 people solved
Jan 22, 2026
Harvey logo
Harvey
Hard
Software Engineer Locked

Implement Spreadsheet Cell Updates

This question evaluates skills in data structures, expression parsing, dependency graph management, incremental evaluation, and cycle detection for ma...

Coding & Algorithms
4
0
24 people solved
May 9, 2026
Uber logo
Uber
Medium
Software EngineerSenior+ Locked

Implement stream queries and bounded-difference subarrays

This question evaluates proficiency in data structures and algorithmic problem-solving, covering streaming uniqueness tracking (first-non-repeated ele...

Coding & Algorithms
9
0
60 people solved
May 8, 2026
NVIDIA logo
NVIDIA
Easy
Software Engineer Locked

Compute the Final Robot Score

This question evaluates data structure and algorithm proficiency, focusing on managing dynamic multisets with priority-based selection and reasoning a...

Coding & Algorithms
5
0
42 people solved
May 19, 2026
Adobe logo
Adobe
Medium
Software Engineer Locked

Traverse a path and print directory tree

This question evaluates proficiency with filesystem I/O, path validation, directory traversal, recursion and error handling in Node.js, plus the abili...

Coding & Algorithms
13
0
134 people solved
Feb 11, 2026
Newrelic logo
Newrelic
Hard
Software Engineer

Maximum Path Sum in an Indexed Binary Tree

Maximum Path Sum in an Indexed Binary Tree A nonempty binary tree is represented without custom node objects. values[i] is the value of node i. childr...

Coding & Algorithms
0
0
10 people solved
Jul 10, 2026
Anthropic logo
Anthropic
Medium
Software Engineer Locked

Word Search in a Letter Grid

This question evaluates a candidate's ability to search for multiple target words within a grid of letters using depth-first traversal and backtrackin...

Coding & Algorithms
0
0
15 people solved
Jun 23, 2026
LinkedIn logo
LinkedIn
Medium
Software Engineer Locked

Longest Run of Ones After One Flip

This question tests a candidate's ability to solve a sliding window problem involving binary arrays, extending the basic "maximum consecutive ones" pa...

Coding & Algorithms
2
0
12 people solved
Jun 23, 2026
DoorDash logo
DoorDash
Medium
Software Engineer

Implement dasher active-time calculator

Implement a function that, given a dasherId, a local pay-period interval [startLocalDateTime, endLocalDateTime), and a list of order events of the for...

Coding & Algorithms
33
0
331 people solved
Sep 6, 2025
Visa logo
Visa
Medium
Software EngineerSenior+

Find the Minimum Edge Score on a Path Between Two Cities

Find the Minimum Edge Score on a Path Between Two Cities An undirected road network contains n cities numbered from 1 through n. Each road is represen...

Coding & Algorithms
3
0
22 people solved
Jul 9, 2026
Airbnb logo
Airbnb
Medium
Software Engineer Locked

Find Optimal Property Combination

This question evaluates combinatorial optimization and algorithmic problem-solving skills, focusing on subset selection under capacity constraints and...

Coding & Algorithms
2
1
53 people solved
May 26, 2026
OpenAI logo
OpenAI
Medium
Software Engineer Locked

Spreading Contagion on a Grid

This question tests graph traversal and multi-source BFS on a 2D grid, evaluating a candidate's ability to model simultaneous state propagation across...

Coding & Algorithms
3
0
23 people solved
Jun 8, 2026
Vanta logo
Vanta
Easy
Software Engineer Locked

Implement a Unique Lines Command

This question evaluates mastery of file I/O, streaming algorithms, stateful line processing, and memory-efficient handling of large inputs, situating ...

Coding & Algorithms
3
0
34 people solved
May 25, 2026
Apple logo
Apple
Easy
Software Engineer Locked

Implement flood fill using BFS and DFS

This question evaluates proficiency in graph traversal and matrix manipulation, specifically the implementation of BFS and DFS variants for flood fill...

Coding & Algorithms
15
0
187 people solved
Jan 22, 2026
Anthropic logo
Anthropic
Hard
Software Engineer

Simulate Threshold Infection Efficiently

Simulate Threshold Infection Efficiently You are given an m x n grid, a set of initially infected cells, and an integer threshold k. Time advances in ...

Coding & Algorithms
2
0
13 people solved
Jul 8, 2026
Anthropic logo
Anthropic
Hard
Software Engineer

Build a Progressive Cloud Storage System

Build a Progressive Cloud Storage System The source reports four storage stages but not the exact API. The command encoding, quota accounting, compres...

Coding & Algorithms
1
0
25 people solved
Jul 8, 2026
Jane Street logo
Jane Street
Easy
Software EngineerNew Grad

Transform sparse time-code stream to dense rows

Problem You are given: - A fixed set of M distinct codes (strings). The column order of the output matrix is the lexicographic order of these codes. -...

Coding & Algorithms
51
0
387 people solved
Feb 12, 2026
Amazon logo
Amazon
Hard
Software EngineerIntern

Return all valid word-break sentences

Given a string s and a dictionary of strings wordDict, insert spaces into s to form a sentence such that every token is in wordDict. Return all possib...

Coding & Algorithms
12
0
207 people solved
Jan 15, 2026
Two Sigma logo
Two Sigma
Hard
Software Engineer

Implement an In-Memory Database

Implement a simple in-memory relational database that processes a sequence of tokenized commands. You are given commands: List[List[str]], where each ...

Coding & Algorithms
6
0
47 people solved
Apr 2, 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