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

Design crypto trading order control API

You are implementing part of a simple crypto trading system that manages client orders. Each order can be in one of several states: NEW, ACTIVE, PAUSE...

Coding & Algorithms
9
0
138 people solved
Dec 8, 2025
Scale AI logo
Scale AI
Medium
Software Engineer

Find LCA in a N-ary tree via DFS

You are given the root of a rooted N-ary tree (each node can have zero or more children) and two distinct nodes p and q that belong to the tree. Desig...

Coding & Algorithms
14
0
123 people solved
Dec 8, 2025
Meta logo
Meta
Medium
Software Engineer AI

Maximize Unique Characters from Words

You are given a list of lowercase English words. Select a subset of the words such that no character appears more than once across all selected words....

Coding & Algorithms
1
0
13 people solved
Mar 17, 2026
Cortex logo
Cortex
Medium
Software Engineer

Parse API JSON and print org chart

You will solve two practical coding tasks. Task 1: Call an HTTP API and parse JSON You are given an HTTP endpoint that returns JSON describing transit...

Coding & Algorithms
7
0
67 people solved
Dec 8, 2025
TikTok logo
TikTok
Medium
Software Engineer

Solve pair-counting and account-merging problems

Problem A — Count qualifying products You are given two integer arrays A and B, and an integer T. For each element a in A, count how many elements b i...

Coding & Algorithms
3
0
57 people solved
Dec 8, 2025
Axon logo
Axon
Medium
Software Engineer Locked

Design body camera checkout system

This question evaluates competency in in-memory data structure design, algorithmic complexity (achieving O(1) average operations), and randomized reso...

Coding & Algorithms
5
0
48 people solved
Mar 16, 2026
Pinduoduo logo
Pinduoduo
Easy
Software Engineer Locked

Determine Straight Flush

This question evaluates competency in algorithmic pattern detection and data-structure manipulation applied to domain-specific representations, focusi...

Coding & Algorithms
3
0
25 people solved
Mar 15, 2026
Sealth logo
Sealth
Medium
Software Engineer Locked

Simulate Threshold Grid Infection

This question evaluates understanding of discrete grid-based simulations and local state-transition rules, focusing on modeling infection spread, neig...

Coding & Algorithms
3
0
27 people solved
Mar 13, 2026
Microsoft logo
Microsoft
Medium
Software Engineer

Implement a Snapshot Set Iterator

Implement a data structure SnapshotSet<T> with the following interface: `java interface SnapshotSet<T> { void add(T e); void remove(T e); ...

Coding & Algorithms
33
0
274 people solved
Mar 13, 2026
Hudson logo
Hudson
Hard
Software EngineerNew Grad

Implement Order Modification Feature

You are given an existing C++ trading system with a client/server architecture. The current system already supports two request types: - AddOrder(orde...

Coding & Algorithms
7
0
64 people solved
Mar 13, 2026
OpenAI logo
OpenAI
Medium
Software Engineer

Implement map serialization and deserialization

You are given an in-memory map (dictionary) from strings to strings. Implement two functions: - string serialize(map<string, string> m) - map<string, ...

Coding & Algorithms
78
0
616 people solved
Dec 1, 2025
Bilt Rewards logo
Bilt Rewards
Medium
Software Engineer

Debug and Fix Failing Unit Tests in Java

You receive a small Java project for a credit-card rewards service with three failing unit tests: calculatesTriplePointsForRestaurants, returnsUnknown...

Coding & Algorithms
2
0
30 people solved
Sep 6, 2025
Adobe logo
Adobe
Medium
Software Engineer

Design a nested-list iterator

You are given a nested structure that can contain integers or further lists. Design an iterator over this structure that returns integers in left-to-r...

Coding & Algorithms
9
0
72 people solved
Sep 6, 2025
OpenAI logo
OpenAI
Medium
Software Engineer

Implement an expiring GPU-credit manager

Implement an expiring GPU-credit manager for a cloud provider. Each user receives credit grants with an amount and an expiration timestamp. Support: (...

Coding & Algorithms
54
0
480 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Detect words formed by multiple dictionary parts

Given an array words of up to 100,000 non-empty lowercase strings (total characters ≤ 1,000, 000), return all strings that can be formed by concatenat...

Coding & Algorithms
3
0
52 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Maintain real-time top-K products from events

Design a data structure/class that ingests a stream of product events and returns the current top‑K products at any time. Events include {timestamp, p...

Coding & Algorithms
3
1
57 people solved
Sep 6, 2025
TikTok logo
TikTok
Medium
Software Engineer

Compute pipeline order from dependencies

You are given a set of pipelines and a list of directed dependency pairs (A, B) meaning pipeline A depends on pipeline B and therefore B must run befo...

Coding & Algorithms
6
0
48 people solved
Sep 6, 2025
IBM logo
IBM
Medium
Software Engineer

Compute shared free time intervals

You are given schedules for multiple employees. schedules[i] is a list of busy intervals for employee i, where each interval is half-open [start, end)...

Coding & Algorithms
5
0
56 people solved
Sep 6, 2025
OpenAI logo
OpenAI
Medium
Software Engineer

Implement a Simulated Memory Allocator

Implement a simulated memory allocator that supports allocate(size) and free(ptr) operations analogous to malloc and free. Treat memory as a contiguou...

Coding & Algorithms
50
1
864 people solved
Sep 6, 2025
Uber logo
Uber
Medium
Software Engineer

Simulate views on an n-ary tree

Given a rooted, ordered n-ary tree (each node has a value and an ordered list of children), simulate an observer who starts at the bottom-left, moves ...

Coding & Algorithms
5
0
77 people solved
Sep 6, 2025

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