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

Design top-K tracker with linked lists

Design top-K tracker with linked lists Design a data structure that tracks the top-K most frequent keys in a stream. Support operations increment(key)...

Coding & Algorithms
12
0
100 people solved
Aug 1, 2025
Coinbase logo
Coinbase
Medium
Software Engineer

Implement iterators and write tests in Java

Implement iterators and write tests in Java In Java, write everything from scratch (no IDE scaffolding): 1) Define a generic Iterator<T> interface wit...

Coding & Algorithms
9
0
106 people solved
Jul 31, 2025
Google logo
Google
Hard
Software EngineerSenior+ Locked

Solve order-statistics and XOR-triplet problems

This multi-part question evaluates skills in order-statistics and efficient counting for array inversion-like problems, alongside bitwise manipulation...

Coding & Algorithms
20
0
186 people solved
Jan 22, 2026
Netflix logo
Netflix
Medium
Software Engineer Locked

Return the longest contiguous subarray with all distinct values

This question evaluates a candidate's understanding of array-processing algorithms, duplicate detection, and maintaining state to identify the longest...

Coding & Algorithms
15
0
283 people solved
Jan 22, 2026
Karat logo
Karat
Medium
Software Engineer

Join tables to map userId to name

Problem You are given three tables represented as 2D string arrays (each row is a record, no headers). You need to produce a mapping from userId → cus...

Coding & Algorithms
3
0
55 people solved
Jan 22, 2026
Citadel logo
Citadel
Medium
Software Engineer

Implement a single-producer multi-consumer ring buffer

Implement a fixed-capacity ring buffer in C++ for a setting with one producer and multiple consumers. Design a class that stores integers in a preallo...

Coding & Algorithms
15
0
138 people solved
Feb 21, 2026
Amazon logo
Amazon
Medium
Software Engineer

Find the K-th Smallest Value in Two Sorted Arrays

Find the K-th Smallest Value in Two Sorted Arrays Given two nondecreasing integer arrays and a one-based integer k, return the k-th smallest value in ...

Coding & Algorithms
0
0
3 people solved
Mar 26, 2026
OpenAI logo
OpenAI
Hard
Software Engineer

Implement a Contiguous Memory Allocator with Primitive Lists

Implement a Contiguous Memory Allocator with Primitive Lists Simulate an allocator over the contiguous address range [0, capacity), initially one free...

Coding & Algorithms
1
0
16 people solved
Feb 19, 2026
Ngrok logo
Ngrok
Medium
Software Engineer

Generate Color Feedback for a Word Guess

Generate Color Feedback for a Word Guess Given an answer string and a guess of the same length, produce one color for each guessed character: - "green...

Coding & Algorithms
0
0
5 people solved
May 1, 2026
Airbnb logo
Airbnb
Hard
Software EngineerSenior+

Find valid split-stay listing combinations

You are building a feature that suggests a split stay: a guest stays in one home for the first part of a trip, then switches to a second home for the ...

Coding & Algorithms
140
2
914 people solved
Dec 20, 2025
Amazon logo
Amazon
Medium
Software EngineerNew Grad Locked

Detect and Break a Cycle in a Singly Linked List

This question tests practical knowledge of linked list traversal and pointer manipulation, specifically the ability to detect and resolve cycles using...

Coding & Algorithms
0
0
13 people solved
Jun 15, 2026
Amazon logo
Amazon
Medium
Software EngineerNew Grad Locked

Minimum Bills and Coins to Make Change

This question tests a candidate's grasp of greedy algorithms applied to a classic coin-change problem with fixed denominations. It evaluates practical...

Coding & Algorithms
1
0
11 people solved
Jun 15, 2026
Amazon logo
Amazon
Medium
Software EngineerNew Grad Locked

Minimum Drone Delivery Time on a Ring of Hubs

This question tests a candidate's grasp of circular graph traversal and greedy distance minimization on ring-structured topologies. It evaluates algor...

Coding & Algorithms
0
0
7 people solved
Jun 15, 2026
Amazon logo
Amazon
Medium
Software Engineer

Solve server updates and grid inconvenience minimization

1) You are given an integer array server of length n, where server[i] is the number of requests the i-th server can process. Over multiple days, you r...

Coding & Algorithms
6
0
82 people solved
Sep 6, 2025
Capital One logo
Capital One
Medium
Software Engineer

Solve powers, phases, grid pops, and swaps

Solve the following four problems: 1) Count powers of k in an array: Given an array of positive integers nums and an integer k >= 1, return how many e...

Coding & Algorithms
12
0
129 people solved
Sep 6, 2025
Cerebras logo
Cerebras
Medium
Software Engineer

Implement and Optimize Vector Multiplication

Implement vector–vector multiplication for dense vectors (e.g., dot product). Then, describe how you would optimize the implementation for a parallel ...

Coding & Algorithms
14
0
122 people solved
Sep 6, 2025
Qube Research & Technologies logo
Qube Research & Technologies
Medium
Software Engineer

Implement a type-erased function wrapper

Implement a minimal std::function-like callable wrapper in C++ using type erasure via inheritance and a virtual call. Define a template Function<R(Arg...

Coding & Algorithms
8
0
87 people solved
Sep 6, 2025
Google logo
Google
Medium
Software Engineer AI

Implement Checksums and Feature Rollout Evaluation

Complete the following two coding tasks in a 90-minute online assessment. An AI coding assistant may be available, but the submitted code must pass th...

Coding & Algorithms
7
0
44 people solved
Apr 30, 2026
Databricks logo
Databricks
Medium
Software Engineer

Implement a snapshotable set with iterators

Implement a SnapshotSet data structure with the following API: add(x), remove(x), contains(x), snapshot() -> sid, and iterate(sid) -> iterator over th...

Coding & Algorithms
34
0
496 people solved
Aug 11, 2025
Stripe logo
Stripe
Medium
Software Engineer AI

Assign Reviewers from Changed Files

Write a Java program that helps automatically assign a code reviewer after a pull request is opened. You are given: 1. A local Git repository path. 2....

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