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

Sum Multiples of Three, Five, or Seven

Sum Multiples of Three, Five, or Seven Implement sum_multiples(limit). Return the sum of all distinct positive integers strictly less than limit that ...

Coding & Algorithms
5
0
41 people solved
Jul 27, 2026
Capital One logo
Capital One
Medium
Software Engineer

Count Pairs of Cyclically Equivalent Integers

Count Pairs of Cyclically Equivalent Integers Two non-negative integers are cyclically equivalent when their standard decimal strings have the same le...

Coding & Algorithms
6
0
91 people solved
Jul 21, 2026
Amazon logo
Amazon
Hard
Software Engineer

Minimize Replacements So Equal Product Values Are Contiguous

Minimize Replacements So Equal Product Values Are Contiguous You are given the quality value of each product in a line. In one operation, choose two d...

Coding & Algorithms
13
1
159 people solved
Jul 12, 2026
Plaid logo
Plaid
Medium
Software Engineer

Count Completed Jobs in a Serial Single-Worker Pipeline

Count Completed Jobs in a Serial Single-Worker Pipeline An automation pipeline contains stages that execute in order. Each stage is represented as [nu...

Coding & Algorithms
11
0
95 people solved
Jul 13, 2026
Amazon logo
Amazon
Medium
Software EngineerSenior+

Schedule Priority Jobs with Cooldowns

Schedule Priority Jobs with Cooldowns Implement a scheduler for recurring jobs: `text addJob(job_id, priority, cooldown) -> bool getJob() -> job_id or...

Coding & Algorithms
10
0
74 people solved
Jul 17, 2026
Databricks logo
Databricks
Hard
Software EngineerSenior+

Build a Constant-Time Snapshot Set Iterator

Build a Constant-Time Snapshot Set Iterator Design SnapshotSet, a set of integers whose iterators observe an immutable logical snapshot without copyin...

Coding & Algorithms
8
0
90 people solved
Jul 7, 2026
Apple logo
Apple
Medium
Software Engineer

Determine Whether an Undirected Graph Is Two-Colorable

Determine Whether an Undirected Graph Is Two-Colorable Given an undirected graph with nodes labeled 0 through n - 1, determine whether every node can ...

Coding & Algorithms
9
0
91 people solved
Jul 13, 2026
Netflix logo
Netflix
Medium
Software Engineer

Report Tree Levels and Balanced Subtrees

Implement describe_balanced_nodes(values) for a binary tree represented as a zero-based heap array. For an existing node at index i, its children are ...

Coding & Algorithms
0
0
7 people solved
Aug 11, 2026
DoorDash logo
DoorDash
Medium
Software Engineer

Simulate Constant-Time Random Courier Selection

Simulate Constant-Time Random Courier Selection Problem Implement simulate_random_picker(operations, random_values). The picker maintains a changing s...

Coding & Algorithms
2
0
12 people solved
Aug 4, 2026
Bytedance logo
Bytedance
Medium
Software Engineer

Merge Overlapping Closed Intervals

Implement merge_intervals(intervals) for closed intervals. Return disjoint closed intervals that cover exactly the same points, sorted by start. Inter...

Coding & Algorithms
1
0
8 people solved
Aug 9, 2026
Salesforce logo
Salesforce
Medium
Software Engineer

Maximal Square and Longest Increasing Subsequence

Problem Implement analyze(matrix, nums) and return [max_square_area, lis_length]. Part A: Maximal Square matrix is a rectangular grid containing only ...

Coding & Algorithms
2
0
55 people solved
Jul 9, 2026
Microsoft logo
Microsoft
Medium
Software Engineer

Minimize Fuel Cost Across Cities

Minimize Fuel Cost Across Cities Problem Hackerland has g_nodes cities numbered from 1 through g_nodes and bidirectional roads. Road i connects g_from...

Coding & Algorithms
0
0
11 people solved
Aug 3, 2026
Applied logo
Applied
Medium
Software Engineer

Evaluate Dependent Variable Assignments

Evaluate Dependent Variable Assignments Problem Implement evaluate_assignments(expressions). Each input string assigns one variable to a sum of intege...

Coding & Algorithms
0
0
11 people solved
Aug 3, 2026
Together logo
Together
Medium
Software Engineer

Schedule GPU Pods and Drain a Node

Problem Implement schedule_gpu_nodes(nodes, request_gpus, delete_name). Each node is {name, gpus, running_pods} and each pod is {name, required_gpus}....

Coding & Algorithms
4
0
47 people solved
Jul 13, 2026
LinkedIn logo
LinkedIn
Medium
Software EngineerSenior+

Merge Keyed N-Ary Trees

Merge Keyed N-Ary Trees An N-ary tree node contains a unique string key among its siblings and a list of children. Implement merge_trees(a, b) for two...

Coding & Algorithms
9
0
103 people solved
Jun 11, 2026
Google logo
Google
Medium
Software Engineer

Minimum Cars for Rental Requests

Minimum Cars for Rental Requests You receive rental requests, each with a unique request identifier, pickup time, and return time. Every request must ...

Coding & Algorithms
1
0
12 people solved
Aug 1, 2026
Google logo
Google
Medium
Software EngineerNew Grad Locked

Search a Pattern Across the Leaf Text of a Binary Tree

Search for a pattern across the left-to-right concatenation of binary-tree leaf strings, including matches that cross leaf boundaries. This algorithm ...

Coding & Algorithms
19
1
159 people solved
Jun 17, 2026
Bnsf logo
Bnsf
Hard
Software EngineerSenior+

Maximize Valid Trains from Shared Equipment

You have a pool of locomotives and railcars. Partition any subset of them into valid trains while using each locomotive and railcar at most once. A va...

Coding & Algorithms
2
0
19 people solved
Jul 23, 2026
Plaid logo
Plaid
Medium
Software Engineer

Calculate Ordered Job Makespan Across Parallel Workers

Calculate Ordered Job Makespan Across Parallel Workers A single stage has jobs with different durations and a fixed number of identical workers. Jobs ...

Coding & Algorithms
9
1
67 people solved
Jul 13, 2026
Amazon logo
Amazon
Easy
Software EngineerIntern

Find the Most Frequently Used Meeting Room

Find the Most Frequently Used Meeting Room Problem Implement mostBookedRoom(roomCount, meetings) -> roomId. Rooms are numbered 0 through roomCount - 1...

Coding & Algorithms
1
0
11 people solved
Aug 1, 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