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

How to find the cheapest flight within K stops

This question evaluates understanding of graph algorithms and constrained shortest-path modeling, focusing on reasoning about weighted directed edges,...

Coding & Algorithms
8
0
77 people solved
Feb 11, 2026
Uber logo
Uber
Medium
Software Engineer

Compute final prices with next smaller discount

You are given an integer array prices of length n, where prices[i] is the original price of the i-th item. For each item i, find the first index j > i...

Coding & Algorithms
6
0
84 people solved
Feb 11, 2026
Citadel logo
Citadel
Easy
Software Engineer Locked

Implement LRU/LFU cache with custom eviction

This question evaluates proficiency in cache design and data-structure implementation, focusing on eviction policies (LRU, LFU), metadata tracking for...

Coding & Algorithms
25
0
239 people solved
Feb 11, 2026
Uber logo
Uber
Medium
Software Engineer

Determine balanced k values in a permutation

You are given a permutation p of the integers 1..n. For a number k (where 1 <= k <= n), call k balanced if there exists a contiguous subarray p[l..r] ...

Coding & Algorithms
33
0
272 people solved
Feb 11, 2026
Instacart logo
Instacart
Hard
Software Engineer Locked

Implement worker time and payroll tracker

This question evaluates skills in designing in-memory data structures and algorithms for temporal event handling, interval arithmetic, stateful toggle...

Coding & Algorithms
34
0
283 people solved
Feb 11, 2026
Microsoft logo
Microsoft
Hard
Software Engineer Locked

Find minimum moves to solve the 15-puzzle

This question evaluates understanding of state-space search, heuristic reasoning, and solvability analysis for combinatorial sliding puzzles, testing ...

Coding & Algorithms
2
0
41 people solved
Feb 11, 2026
Microsoft logo
Microsoft
Hard
Software Engineer Locked

Implement idempotent request handling with idempotency keys

This question evaluates understanding of idempotency semantics, idempotency-key handling, concurrency control, synchronization, and in-memory TTL-base...

Coding & Algorithms
5
0
44 people solved
Feb 11, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Extend a BFS maze solver stepwise

This question evaluates proficiency in grid-based graph traversal and pathfinding, covering BFS mechanics, stateful reachability with keys and doors, ...

Coding & Algorithms
7
0
52 people solved
Feb 11, 2026
Meta logo
Meta
Medium
Software EngineerSenior+ Locked

Solve maze tasks and compute shortest routes

This multi-part question evaluates proficiency in grid-based pathfinding and shortest-path reasoning, debugging and incremental code extension, handli...

Coding & Algorithms
6
0
81 people solved
Feb 11, 2026
Nuro logo
Nuro
Medium
Software Engineer Locked

Group points by distance threshold

This question evaluates understanding of geometric graph construction and connectivity, computational geometry concepts such as Euclidean distance, an...

Coding & Algorithms
5
0
82 people solved
Feb 11, 2026
Molocoads logo
Molocoads
Medium
Software Engineer

Can you visit all rooms and score parentheses?

Problem 1: Visit all locked rooms with keys There are n rooms labeled 0..n-1. All rooms are locked except room 0. - When you enter room i, you find a ...

Coding & Algorithms
7
0
56 people solved
Feb 11, 2026
Salesforce logo
Salesforce
Medium
Software Engineer Locked

Minimize operations to reduce integer to zero

This question evaluates algorithmic problem-solving and integer-manipulation skills, specifically assessing the ability to reason about operation coun...

Coding & Algorithms
10
0
112 people solved
Feb 11, 2026
Microsoft logo
Microsoft
Hard
Software Engineer Locked

Answer suffix maximum-frequency queries

This question evaluates algorithm design skills and array-processing competency for answering repeated queries efficiently, focusing on time and space...

Coding & Algorithms
5
0
99 people solved
Feb 11, 2026
Snapchat logo
Snapchat
Hard
Software Engineer Locked

Determine escape path with blockers and spreading fire

This question evaluates graph traversal and grid-based pathfinding skills, including connectivity analysis, obstacle handling, and reasoning about tim...

Coding & Algorithms
2
0
43 people solved
Feb 11, 2026
Rippling logo
Rippling
Medium
Software Engineer Locked

Find bounding boxes of connected houses

This question evaluates grid traversal and connected-component identification skills, specifically handling ragged 2D arrays, 4-directional adjacency,...

Coding & Algorithms
36
0
247 people solved
Feb 11, 2026
Meta logo
Meta
Medium
Software Engineer

Compute sparse dot product and count islands

You are asked to solve two coding problems. Problem 1: Sparse vector dot product Given two vectors A and B of the same length n (potentially large, e....

Coding & Algorithms
3
0
54 people solved
Feb 11, 2026
Applied logo
Applied
Medium
Software Engineer Locked

Implement a fixed-capacity generic circular buffer

This question evaluates knowledge of data structure design, generic types, in-place memory allocation, and constant-time FIFO operations required for ...

Coding & Algorithms
1
0
21 people solved
Feb 11, 2026
Applied logo
Applied
Medium
Software Engineer Locked

Implement a single-thread task scheduler API

This question evaluates understanding of task scheduling, timing semantics, deterministic ordering, single-thread concurrency control, and data struct...

Coding & Algorithms
3
0
27 people solved
Feb 11, 2026
Atlassian logo
Atlassian
Medium
Software Engineer Locked

Merge intervals and design rating APIs

This question evaluates algorithmic problem-solving for interval manipulation and stateful data-structure design for maintaining and ordering agent av...

Coding & Algorithms
7
0
77 people solved
Feb 11, 2026
Intersystems logo
Intersystems
Easy
Software EngineerNew Grad

Find the longest palindromic substring

Problem Given a string s, find the longest contiguous substring of s that is a palindrome (reads the same forward and backward). Input - A string s co...

Coding & Algorithms
3
0
39 people solved
Feb 11, 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