Software Engineer Coding & Algorithms Interview Questions

Practice 2,743 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
Stripe logo
Stripe
Medium
Software Engineer

Implement multi-network card validator with Luhn

Design and implement a payment card validation module that supports multiple networks and error scenarios. Requirements: 1) Luhn checksum - Implement ...

Coding & Algorithms
2
0
15 people solved
Sep 6, 2025
Airbnb logo
Airbnb
Medium
Software Engineer

Generate split-stay pairs efficiently

Given N Airbnb listings, each with available days as integers, and an inclusive requested date range [L, R], return all ordered pairs (X, Y) of distin...

Coding & Algorithms
22
0
222 people solved
Sep 6, 2025
Stripe logo
Stripe
Medium
Software Engineer

Plan bicycle routes on a city map

You are given a city bicycle network as a weighted graph where edges encode distance, bike-lane availability, elevation gain, and traffic risk. Comput...

Coding & Algorithms
31
0
357 people solved
Sep 6, 2025
Ramp logo
Ramp
Hard
Software Engineer

Track Users From Flight History

You are given an unsorted list of flight records. Each record contains departure_airport, departure_time, arrival_airport, arrival_time, and user_id. ...

Coding & Algorithms
8
0
125 people solved
Jan 17, 2026
Google logo
Google
Medium
Software Engineer

Find largest subset sharing a common digit

You are given a list of two-digit integers (each from 10 to 99, inclusive). You want to select as many numbers as possible in one selection such that:...

Coding & Algorithms
6
0
71 people solved
Sep 5, 2025
Uber logo
Uber
Hard
Software Engineer Locked

Maximize Minimum Scaled Value

This question evaluates algorithmic optimization and resource-allocation skills, focusing on integer scaling under a global budget to maximize the min...

Coding & Algorithms
2
0
41 people solved
Jan 16, 2026
Snowflake logo
Snowflake
Hard
Software Engineer

Compute height of tree with deleted nodes; minimize deletions

You are given a rooted tree (not necessarily binary). Each node has a list of children. Some nodes are marked as deleted = true. Define the effective ...

Coding & Algorithms
7
0
128 people solved
Jan 16, 2026
Snowflake logo
Snowflake
Hard
Software Engineer

Compute nearest bathroom distance for each desk

You are given an m x n grid of characters containing only: - 'B' = bathroom - 'D' = desk - '_' = empty cell From any cell you may move one step up/dow...

Coding & Algorithms
13
0
163 people solved
Jan 16, 2026
Qube logo
Qube
Hard
Software Engineer Locked

Compute expected days until no whole pills

This question evaluates understanding of probability and expected value, modeling of state-based stochastic processes (Markov chains), and the ability...

Coding & Algorithms
4
0
43 people solved
Jan 15, 2026
Trexquant logo
Trexquant
Medium
Software Engineer

Maintain median of a data stream

Design a data structure that supports: - addNum(int x): Add an integer from a stream. - findMedian(): Return the median of all inserted numbers so far...

Coding & Algorithms
8
0
61 people solved
Sep 1, 2025
Stripe logo
Stripe
Hard
Software Engineer Locked

Generate Available 30-Minute Time Slots

This question evaluates date/time arithmetic, interval and recurrence handling, edge-case reasoning, and test-case design within scheduling logic for ...

Coding & Algorithms
4
0
65 people solved
Jan 14, 2026
Stripe logo
Stripe
Medium
Software Engineer

Implement a CSV dataset join

Implement joinDataSet(fieldName, customerFile, processorFile, skipUnmatched). You are given two datasets represented as List<String>, where: - custome...

Coding & Algorithms
9
0
94 people solved
Jan 14, 2026
NVIDIA logo
NVIDIA
Medium
Software Engineer Locked

Find minimum time to cross bridge with flashlight

This question evaluates algorithmic problem-solving and optimization skills, including modeling constrained state transitions, reasoning about trade-o...

Coding & Algorithms
3
0
49 people solved
Jan 14, 2026
Atlassian logo
Atlassian
Medium
Software Engineer Locked

Find smallest common organization for employees

The question evaluates competency in hierarchical and graph data structures, including tree lowest-common-ancestor reasoning, DAG ancestor minimality,...

Coding & Algorithms
10
0
79 people solved
Jan 14, 2026
Optiver logo
Optiver
Medium
Software Engineer Locked

Design a circular queue data structure

This question evaluates understanding of circular buffer data structures and the ability to implement fixed-capacity queue operations with O(1) time a...

Coding & Algorithms
8
0
70 people solved
Jan 13, 2026
LinkedIn logo
LinkedIn
Medium
Software Engineer Locked

Find dictionary words matching a phone digit string

This question evaluates familiarity with phone-keypad character-to-digit mappings, string pattern matching, and efficient filtering of dictionary word...

Coding & Algorithms
11
1
110 people solved
Jan 12, 2026
Art Advisors logo
Art Advisors
Medium
Software Engineer Locked

Solve common array/graph interview problems

This multi-part question evaluates proficiency in array and matrix manipulation, graph traversal and shortest-path reasoning for word transformations,...

Coding & Algorithms
1
0
24 people solved
Jan 12, 2026
Google logo
Google
Medium
Software Engineer Locked

Compute distance to nearest taxi in grid

This question evaluates understanding of graph traversal and shortest-path reasoning on grids, algorithmic problem-solving for computing distances fro...

Coding & Algorithms
27
0
213 people solved
Jan 10, 2026
OpenAI logo
OpenAI
Medium
Software Engineer Locked

Compute infection spread time

This question evaluates understanding of grid-based graph traversal and propagation dynamics, testing competencies in breadth-first search concepts, s...

Coding & Algorithms
9
0
127 people solved
Jan 9, 2026
Citadel logo
Citadel
Medium
Software Engineer Locked

Return nodes on a tree diameter path

This question evaluates understanding of graph algorithms and tree properties, specifically the ability to identify and reconstruct a longest simple p...

Coding & Algorithms
8
0
75 people solved
Jan 9, 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