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

Implement autocomplete with top-K suggestions

Implement an autocomplete component that, given a history of query strings with frequencies, returns the top K suggestions for an input prefix in real...

Coding & Algorithms
2
0
44 people solved
Sep 6, 2025
TikTok logo
TikTok
Medium
Software Engineer

Compute rooms and verify tree completeness

This question has two independent algorithm problems on a single calendar/tree theme. Treat each Part as a self-contained coding exercise: implement a...

Coding & Algorithms
2
0
45 people solved
Sep 6, 2025
Meta logo
Meta
Medium
Software Engineer

Traverse binary tree by levels with constraints

Given a binary tree and a predicate P(node), perform a level-by-level traversal that collects, for each level, only the nodes whose values satisfy P. ...

Coding & Algorithms
2
0
37 people solved
Sep 6, 2025
Oracle logo
Oracle
Medium
Software Engineer

Solve three DSA problems: trie, window, intervals

1) Design and implement an autocomplete service. Support insert(word) to add a word and suggest(prefix) to return up to five existing words that start...

Coding & Algorithms
4
0
79 people solved
Sep 6, 2025
LinkedIn logo
LinkedIn
Medium
Software Engineer

Compare heap and stack memory

Compare heap and stack memory. Explain how each is allocated and freed, typical lifetimes of data stored there, access patterns and performance charac...

Coding & Algorithms
5
0
97 people solved
Sep 6, 2025
Google logo
Google
Medium
Software Engineer

Check if all substrings are dictionary words

You are given a string s (letters only) and access to an English dictionary dict (a set of valid words). Return true if every contiguous substring of ...

Coding & Algorithms
33
0
319 people solved
Mar 11, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Track Customer Referral Revenue

This question evaluates understanding of dynamic data structure design and algorithms for maintaining aggregated metrics over a referral tree, specifi...

Coding & Algorithms
5
0
45 people solved
Jan 16, 2026
Databricks logo
Databricks
Medium
Software Engineer Locked

Partition a Target String by Source Substrings

This question evaluates understanding of string algorithms and optimal partitioning, specifically substring matching and minimizing the number of cont...

Coding & Algorithms
3
0
19 people solved
May 14, 2026
eBay logo
eBay
Medium
Software Engineer Locked

Find K most frequent elements

This question evaluates a candidate's ability to implement efficient frequency counting and selection logic, demonstrating understanding of data struc...

Coding & Algorithms
5
0
54 people solved
Jan 15, 2026
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
DoorDash logo
DoorDash
Medium
Software Engineer

Compute dasher pay from order event logs

You are given a list of delivery-order event records for a single dasher. Each record contains: - order_id - event_type in {CREATED, ACCEPTED, PICKED_...

Coding & Algorithms
46
0
326 people solved
Jan 14, 2026
Waymo logo
Waymo
Medium
Software Engineer

Find the Best Meeting Point on a Grid

Find the Best Meeting Point on a Grid You are given a rectangular grid containing buildings, empty land, and obstacles: - 1 is a building. - 0 is empt...

Coding & Algorithms
3
0
19 people solved
May 13, 2026
OpenAI logo
OpenAI
Medium
Software Engineer Locked

Implement Three Research Coding Tasks

This multi-part question evaluates skills in differentiable linear algebra and automatic differentiation safety, memory- and buffer-aware numerical im...

Coding & Algorithms
5
0
47 people solved
Jan 13, 2026
Amazon logo
Amazon
Hard
Software Engineer

Minimize Branch Merge Conflicts

You are given several feature branches that must all be merged into the main branch. Each branch contains a sequence of commits, and each commit modif...

Coding & Algorithms
11
0
179 people solved
Jan 12, 2026
Google logo
Google
Easy
Software Engineer Locked

Implement Memory-Efficient Document Undo/Redo

This question evaluates data structure design and algorithmic reasoning for implementing memory-efficient undo/redo semantics on a key-value document,...

Coding & Algorithms
7
0
61 people solved
Jan 12, 2026
Google logo
Google
Easy
Software Engineer Locked

Design compressed vector and compute dot product

This question evaluates understanding of data structure design, sequence compression concepts (such as run-length patterns), and numeric algorithm eff...

Coding & Algorithms
4
0
83 people solved
Jan 11, 2026
Uber logo
Uber
Easy
Software Engineer

Solve three algorithmic optimization and search problems

You are given three independent coding problems. --- Problem 1: Allocate tasks between two workers to maximize reward You have n independent tasks tha...

Coding & Algorithms
13
0
99 people solved
Oct 7, 2025
Uber logo
Uber
Medium
Software Engineer Locked

Count Islands After Land Additions

This question evaluates understanding of dynamic connectivity, incremental graph updates, and algorithmic efficiency when maintaining connected compon...

Coding & Algorithms
1
0
15 people solved
May 11, 2026
Amazon logo
Amazon
Hard
Software Engineer Locked

Build a Searchable Sentence Index

This question evaluates a candidate's ability to design and implement in-memory text indexes and related data structures, covering inverted indexing, ...

Coding & Algorithms
0
0
11 people solved
May 11, 2026
Microsoft logo
Microsoft
Medium
Software Engineer Locked

Check palindrome number and next palindrome

This question evaluates understanding of numeric and string manipulation along with algorithmic problem-solving for palindrome detection and generatio...

Coding & Algorithms
7
0
66 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