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
Rippling logo
Rippling
Medium
Software EngineerSenior+ AI

Implement a balance tracker and interval merger

This screening contained two coding exercises. Part 1: Driver balance tracker You are building an in-memory ledger for a delivery platform. Each updat...

Coding & Algorithms
9
0
92 people solved
Mar 10, 2026
Ramp logo
Ramp
Medium
Software Engineer

Maximum Profit from Dated Stock Trade Records

Maximum Profit from Dated Stock Trade Records You are given a log of stock trades. Each trade is a record [date, symbol, price]: - date — a calendar d...

Coding & Algorithms
0
0
10 people solved
Mar 9, 2026
Airbnb logo
Airbnb
Easy
Software Engineer Locked

Implement Text Layout and Query Parsing

This question evaluates string-processing and parsing competencies, covering tokenization, constrained line-wrapping and layout decisions (including p...

Coding & Algorithms
6
2
64 people solved
Mar 9, 2026
Upstart logo
Upstart
Medium
Software Engineer

Decode an anagram sentence using vocabulary constraints

You are given: - vocab: a list of lowercase words (the "dictionary") - s: a string containing space-separated scrambled words Each scrambled word in s...

Coding & Algorithms
13
0
103 people solved
Mar 9, 2026
Upstart logo
Upstart
Medium
Software Engineer

Compute buffet revenue with capacity and waiting

A casino buffet has a maximum capacity capacity (number of customers that can be seated at once). You are given: 1) prices: an array where prices[i] i...

Coding & Algorithms
7
0
94 people solved
Mar 9, 2026
Upstart logo
Upstart
Medium
Software Engineer

Decrypt a twice-encrypted message using known pairs

Three people pass notes A → B → C → A. Notes are encrypted using a character-substitution cipher (a one-to-one mapping per character). You are given t...

Coding & Algorithms
6
0
106 people solved
Mar 9, 2026
Google logo
Google
Medium
Software Engineer

Return dictionary words matching a prefix

You are given a list of strings words (a dictionary) and a string prefix. Return all words in words that start with prefix. Clarifications/constraints...

Coding & Algorithms
26
0
192 people solved
Mar 9, 2026
DoorDash logo
DoorDash
Medium
Software Engineer

Compute Driver Pay with Double-Pay Windows

You are building payroll logic for a delivery platform. Given a list of order records for one delivery driver, compute the total amount the driver sho...

Coding & Algorithms
0
0
6 people solved
Mar 8, 2026
Amazon logo
Amazon
Easy
Software EngineerNew Grad

Implement Interview Coding Problems

Solve the following independent coding tasks from a new-grad software engineering interview. 1. Implement a hash map from scratch. - Support integer k...

Coding & Algorithms
1
0
16 people solved
Nov 22, 2025
Google logo
Google
Hard
Software Engineer

Find safe travel intervals between planet influences

You are planning a space route along a one-dimensional line (the x-axis). You are given a list of planets. Each planet is represented by an integer pa...

Coding & Algorithms
12
2
88 people solved
Nov 22, 2025
Stripe logo
Stripe
Medium
Software Engineer Locked

Process Transactions and Compute Balances

This question evaluates a candidate's ability to implement stateful transaction processing, accurate integer bookkeeping across accounts and currencie...

Coding & Algorithms
1
0
21 people solved
Nov 21, 2025
Google logo
Google
Medium
Software Engineer

Return Words Matching a Typed Prefix

Given words and a query prefix, return all words starting with that prefix in lexicographic order. Implement: `python def prefix_matches(words: list[s...

Coding & Algorithms
0
0
8 people solved
Mar 6, 2026
Anthropic logo
Anthropic
Hard
Software Engineer

Implement staircase printing and distributed mode/median

Problem A: Print a “staircase” pattern Implement a function that prints a staircase with n rows. Input - An integer n (n >= 1) Output - Print n lines....

Coding & Algorithms
68
0
924 people solved
Nov 19, 2025
OpenAI logo
OpenAI
Medium
Software Engineer

Count Nodes Using Asynchronous Messages

You are given the identifier of a root node in a distributed network. Each node represents a separate machine. A node cannot directly inspect another ...

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

Find the First Unique Log

This question evaluates a candidate's ability to analyze and implement efficient data-processing and frequency-detection strategies on ordered string ...

Coding & Algorithms
3
0
49 people solved
Mar 4, 2026
Walmart Labs logo
Walmart Labs
Medium
Software Engineer

Implement lexicographically smallest Two Sum

You are given an unsorted integer array nums and an integer target. Return the indices [i, j] (0-based) such that i < j and nums[i] + nums[j] == targe...

Coding & Algorithms
25
0
281 people solved
Mar 4, 2026
NVIDIA logo
NVIDIA
Easy
Software Engineer

Return all file paths via DFS

You are given an in-memory representation of a file system as a tree. Each node has: - name (string) - isFile (boolean) - children (list of nodes, emp...

Coding & Algorithms
18
0
132 people solved
Mar 4, 2026
Amazon logo
Amazon
Medium
Software EngineerSenior+ Locked

Solve Shipping and Bundle-Cost Problems

This question evaluates algorithmic reasoning for scheduling and capacity planning (minimum daily shipping capacity) and combinatorial optimization wi...

Coding & Algorithms
2
0
39 people solved
Nov 17, 2025
Google logo
Google
Medium
Software Engineer

Find mode in a trinary search tree

You are given the root of a trinary search tree where each node has up to three children: `text class Node { int val; Node left; // all values ...

Coding & Algorithms
13
0
137 people solved
Nov 16, 2025
Affirm logo
Affirm
Medium
Software EngineerSenior+ Locked

Implement a timestamped map

This question evaluates a candidate's ability to implement time-indexed key-value storage, covering data structure design, versioning semantics, and a...

Coding & Algorithms
7
0
83 people solved
Mar 3, 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