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
Pinduoduo logo
Pinduoduo
Hard
Software Engineer Locked

Find Shortest Square-Sum Path

This question evaluates algorithmic problem-solving skills with number-theoretic reasoning about perfect squares and the ability to reconstruct a mini...

Coding & Algorithms
0
0
6 people solved
May 16, 2026
Cursor logo
Cursor
Hard
Software Engineer

Implement a Merkle-tree repo diff

You are given two snapshots of a source-code repository on disk, each represented by a root directory path. Implement a Merkle tree over the directory...

Coding & Algorithms
16
0
158 people solved
Feb 14, 2026
Gofundme logo
Gofundme
Easy
Software Engineer Locked

Validate a bracket string

This question evaluates a candidate's ability to reason about paired-token matching and nested structure correctness in strings, measuring skills in p...

Coding & Algorithms
2
0
29 people solved
Jan 19, 2026
Stripe logo
Stripe
Medium
Software Engineer Locked

Build an Account Transfer Ledger

This question evaluates the ability to implement transaction processing, state management, validation of transfers (including rejects and platform len...

Coding & Algorithms
5
0
77 people solved
Mar 13, 2026
LinkedIn logo
LinkedIn
Medium
Software Engineer

Group words that map to same phone digits

Problem On a classic phone keypad (T9), letters map to digits: - 2: ABC, 3: DEF, 4: GHI, 5: JKL, - 6: MNO, 7: PQRS, 8: TUV, 9: WXYZ Given a list of lo...

Coding & Algorithms
8
0
138 people solved
Oct 20, 2025
Wells Fargo logo
Wells Fargo
Medium
Software EngineerSenior+ Locked

Highest Salary Using Java Streams

This question tests a software engineer's practical proficiency with the Java Stream API, specifically the ability to perform aggregate operations on ...

Coding & Algorithms
0
0
11 people solved
Jun 24, 2026
Tesla logo
Tesla
Easy
Software Engineer Locked

Generate Per-Position Guess Feedback

This question evaluates string-processing skills, array manipulation, and handling of duplicate character counts to produce per-position feedback. It ...

Coding & Algorithms
1
0
10 people solved
May 15, 2026
Coinbase logo
Coinbase
Medium
Software Engineer

Implement custom iterators and interfaces

Implement custom iterators and interfaces Define a minimal Iterator interface (e.g., hasNext(), next()) for integers without using IDE-generated scaff...

Coding & Algorithms
15
0
136 people solved
Jul 31, 2025
Microsoft logo
Microsoft
Medium
Software Engineer

Implement an O(1) LRU Cache

Implement run_lru(capacity, operations) to model a least-recently-used cache with integer keys and values. Each operation is a three-integer row: - [0...

Coding & Algorithms
0
0
3 people solved
Apr 11, 2026
Harvey logo
Harvey
Medium
Software Engineer

Implement a Formula Spreadsheet

Design and implement a small in-memory spreadsheet. The spreadsheet must support cell labels such as A1 and B10, where a label consists of uppercase l...

Coding & Algorithms
1
0
24 people solved
Apr 11, 2026
Mithril logo
Mithril
Medium
Software Engineer

Parse code into operation triads IR

Problem: Operation-Triads Parsing (Mini Language) You are given a small, line-based programming language consisting of assignment statements and non-n...

Coding & Algorithms
5
0
72 people solved
Feb 12, 2026
Bytedance logo
Bytedance
Medium
Software Engineer Locked

Implement Interval Insert and Dedup

This question evaluates skills in array and interval data-structure manipulation, in-place modification under space constraints, and general algorithm...

Coding & Algorithms
2
0
35 people solved
Apr 10, 2026
Microsoft logo
Microsoft
Hard
Software Engineer Locked

Decode a JWT string without libraries

This question evaluates understanding of JWT structure, Base64URL encoding, string manipulation, and JSON parsing as applied to decoding token compone...

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

Implement sequential and parallel URL requests

This question evaluates proficiency in HTTP networking, asynchronous and parallel programming (promises/futures), deduplication and order preservation...

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

Produce valid student lineup from parent array

This question evaluates understanding of rooted tree hierarchies, parent-before-child ordering constraints, and lexicographic minimality when construc...

Coding & Algorithms
12
0
92 people solved
Feb 11, 2026
Revolut logo
Revolut
Medium
Software EngineerNew Grad

Implement a thread-safe money transfer

Problem: Implement a concurrent-safe transfer function You are given an in-memory store of bank accounts: - Each account has an accountId and a balanc...

Coding & Algorithms
11
0
165 people solved
Feb 11, 2026
Anthropic logo
Anthropic
Medium
Software Engineer AI Locked

Maximum-Length Unique-Character Subset

This question evaluates a candidate's ability to combine bitmasking with backtracking or subset enumeration to maximize a constraint over combinations...

Coding & Algorithms
0
0
7 people solved
Jun 23, 2026
Anthropic logo
Anthropic
Medium
Software Engineer Locked

Same-Domain Web Crawl (BFS)

This question evaluates a candidate's ability to implement graph traversal using breadth-first search while applying a domain-matching filter and dedu...

Coding & Algorithms
0
0
8 people solved
Jun 23, 2026
Anthropic logo
Anthropic
Medium
Software Engineer Locked

Path Resolution with Symbolic Links

This question evaluates a candidate's ability to implement filesystem-style path resolution, including handling relative and absolute paths, dot compo...

Coding & Algorithms
0
0
8 people solved
Jun 23, 2026
Anthropic logo
Anthropic
Medium
Software Engineer Locked

In-Memory Key-Value Database with Nested Transactions

This question evaluates a candidate's ability to design a data structure that layers transactional state over a committed base, testing skills in nest...

Coding & Algorithms
5
0
22 people solved
Jun 23, 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