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

Design a dynamic leaderboard with rank queries

This question evaluates proficiency with dynamic data structures and order-statistics, including maintaining sorted order under updates, deterministic...

Coding & Algorithms
21
0
189 people solved
Jan 6, 2026
Citadel logo
Citadel
Hard
Software Engineer Locked

Determine order of alien alphabet

This question evaluates the ability to infer ordering constraints among characters, model dependencies from ordered examples, and reason about edge ca...

Coding & Algorithms
15
0
149 people solved
Jan 6, 2026
MathWorks logo
MathWorks
Medium
Software EngineerIntern Locked

Minimize reduction cost and validate equal-sum pairs

This two-part question evaluates array manipulation and algorithmic problem-solving skills: the first task focuses on optimizing cumulative operation ...

Coding & Algorithms
2
0
41 people solved
Jan 6, 2026
Amazon logo
Amazon
Medium
Software EngineerIntern Locked

Find minimum total range-increment to sort

This question evaluates algorithmic problem-solving skills in array manipulation and optimization, focusing on reasoning about range-increment operati...

Coding & Algorithms
6
0
51 people solved
Jan 6, 2026
TikTok logo
TikTok
Hard
Software EngineerIntern Locked

Solve grid shortest-path and tree DP

This question pair evaluates proficiency in fundamental algorithmic techniques: finding shortest paths in a grid via breadth-first search and applying...

Coding & Algorithms
3
0
34 people solved
Jan 6, 2026
TikTok logo
TikTok
Medium
Software Engineer Locked

Calculate transaction fees from CSV records

This question evaluates parsing and processing of structured transaction data, implementing multi-dimension fee computation rules (provider-, transact...

Coding & Algorithms
13
1
98 people solved
Jan 6, 2026
Google logo
Google
Medium
Software EngineerIntern Locked

Find shortest subarray with at least k distinct

This question evaluates proficiency in array manipulation, frequency counting, and efficient tracking of distinct values within contiguous subarrays, ...

Coding & Algorithms
5
0
70 people solved
Jan 6, 2026
Google logo
Google
Medium
Software EngineerIntern Locked

Find shortest subarray with ≥k distinct integers

This question evaluates understanding of array algorithms, handling of distinct-element counting, and the ability to design time- and space-efficient ...

Coding & Algorithms
5
0
40 people solved
Jan 6, 2026
Google logo
Google
Medium
Software Engineer Locked

Answer parity-alternation range queries

This question evaluates a candidate's ability to reason about array properties and design efficient range-query processing for alternating-parity suba...

Coding & Algorithms
9
0
77 people solved
Jan 6, 2026
Google logo
Google
Medium
Software Engineer Locked

Implement iterator merging lists with filtering

This question evaluates iterator/generator design, sequence merging, stateful filtering and deduplication, checking a candidate's ability to maintain ...

Coding & Algorithms
4
0
69 people solved
Jan 6, 2026
NVIDIA logo
NVIDIA
Medium
Software EngineerSenior+ Locked

Compute top-N items from log stream

This question evaluates the ability to aggregate frequencies and compute top-N results from logs, covering competencies in frequency counting, top-k a...

Coding & Algorithms
2
0
33 people solved
Jan 6, 2026
Databricks logo
Databricks
Medium
Software Engineer Locked

Implement lazy array and KV store

This question evaluates understanding of lazy evaluation and functional transformation chaining for a LazyArray alongside in-memory data structure des...

Coding & Algorithms
8
0
100 people solved
Jan 5, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Solve counting and frequency coding tasks

This question evaluates algorithmic skills in counting, frequency analysis, constraint-based pair counting, and stream-oriented tokenization and ranki...

Coding & Algorithms
3
0
43 people solved
Jan 5, 2026
DoorDash logo
DoorDash
Easy
Software Engineer Locked

Evaluate a Four-Operator Expression

This question evaluates expression-evaluation skills such as operator precedence, integer arithmetic semantics (truncating division), and string parsi...

Coding & Algorithms
2
0
28 people solved
Jan 4, 2026
Snapchat logo
Snapchat
Hard
Software Engineer

Compute shortest path in a 2D grid

Given an m x n grid where: - 0 represents an empty cell you can move through - 1 represents a blocked cell you cannot enter - movement is allowed in 4...

Coding & Algorithms
3
0
39 people solved
Jan 4, 2026
Uber logo
Uber
Hard
Software Engineer

Find earliest time all riders become connected

You are given a time-ordered log of events involving Uber riders. Each event has a timestamp and two rider names. Event types: 1. t X shared-ride-with...

Coding & Algorithms
15
0
110 people solved
Jan 3, 2026
Amazon logo
Amazon
Medium
Software Engineer Locked

Implement memcpy with misaligned addresses

This question evaluates a candidate's understanding of low-level memory manipulation, pointer alignment, and the implementation of efficient byte-copy...

Coding & Algorithms
3
0
43 people solved
Jan 2, 2026
DoorDash logo
DoorDash
Medium
Software Engineer Locked

Compute dasher pay with peak-hour query

This question evaluates a candidate's ability to perform time-interval arithmetic, prorated pay aggregation, robust handling of missing or inconsisten...

Coding & Algorithms
11
0
107 people solved
Jan 2, 2026
Jerry.Ai logo
Jerry.Ai
Medium
Software Engineer

Determine a one-step string transformation

Given two lowercase strings source and target, determine whether target can be obtained from source using at most one of the following operations, and...

Coding & Algorithms
0
0
16 people solved
Jan 1, 2026
LinkedIn logo
LinkedIn
Medium
Software Engineer

Design a stack with max removal

Design a stack-like data structure for integers that supports the following operations efficiently: - push(x): insert x onto the stack. - pop(): remov...

Coding & Algorithms
4
0
53 people solved
Jan 1, 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