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
Affirm logo
Affirm
Medium
Software EngineerSenior+ Locked

Implement a timestamped map

This question evaluates a candidate's ability to implement time-indexed key-value storage, covering data structure design, versioning semantics, and a...

Coding & Algorithms
7
0
83 people solved
Mar 3, 2026
Anthropic logo
Anthropic
Medium
Software Engineer

Implement Parallel Image Processing

Build an image-processing utility in Python using the Pillow library. You are given a collection of image file paths and an output directory. For each...

Coding & Algorithms
3
0
14 people solved
Mar 2, 2026
Walmart Labs logo
Walmart Labs
Medium
Software Engineer

Compute days until plants stop dying

You are given a row of plants, each with an integer pesticide level. Rules - On each day, any plant with a strictly greater pesticide level than the p...

Coding & Algorithms
19
0
345 people solved
Mar 1, 2026
Walmart Labs logo
Walmart Labs
Medium
Software Engineer Locked

Check whether brackets are balanced

This question evaluates a candidate's competency in string processing and bracket-matching concepts, testing familiarity with linear-time algorithms a...

Coding & Algorithms
5
0
42 people solved
Mar 1, 2026
Netflix logo
Netflix
Medium
Software Engineer Locked

Solve sliding-window and disjoint-string-pairs tasks

This question evaluates proficiency in string-processing algorithms, sliding-window techniques, efficient set or bitmask representations, and combinat...

Coding & Algorithms
28
0
271 people solved
Mar 1, 2026
Codeium logo
Codeium
Medium
Software Engineer

Validate whether a given sequence is a Hamiltonian path

You are given strArr, an array of three strings describing an undirected graph and a proposed vertex visit order: 1. strArr[0]: a comma-separated list...

Coding & Algorithms
3
0
36 people solved
Mar 1, 2026
Codeium logo
Codeium
Medium
Software Engineer

Find the third-largest word by length

Given an array of strings strArr (length ≥ 3), return the third largest word when ranking words by string length in descending order. Ranking rules: -...

Coding & Algorithms
1
0
29 people solved
Mar 1, 2026
Microsoft logo
Microsoft
Hard
Software Engineer

Compute discounted prices and full-price indices

You are given an array prices of length \(n\). Items are sold from left to right, and each item’s final selling price is computed as follows: For item...

Coding & Algorithms
17
0
118 people solved
Mar 1, 2026
Microsoft logo
Microsoft
Hard
Software Engineer

Find all balanced k in a permutation

You are given a permutation \(p\) of length \(n\) containing each integer from \(1\) to \(n\) exactly once. For each \(k\) where \(1 \le k \le n\), de...

Coding & Algorithms
26
0
202 people solved
Mar 1, 2026
Bloomberg logo
Bloomberg
Hard
Software Engineer

Design a data structure for dynamic top‑K frequency

Design a data structure that maintains a multiset of integers and supports the following operations efficiently: Operations - insert(x): Add one occur...

Coding & Algorithms
17
0
185 people solved
Mar 1, 2026
Paradromics logo
Paradromics
Medium
Software Engineer

Implement a hash table with put/get

Problem Implement a simplified hash table (hash map) data structure from scratch. Required API Design a class HashTable with: - HashTable(int numBucke...

Coding & Algorithms
3
0
35 people solved
Mar 1, 2026
Snowflake logo
Snowflake
Easy
Software Engineer Locked

Schedule prerequisite classes with retakes

This question evaluates competency in graph algorithms, dependency resolution, stateful scheduling, and robust error handling within the Coding & Algo...

Coding & Algorithms
14
0
119 people solved
Mar 1, 2026
Bloomberg logo
Bloomberg
Hard
Software Engineer Locked

Find tree root and bucket numbers

This two-part question evaluates understanding of tree data representations and interval bucketing, testing competencies in identifying a tree root fr...

Coding & Algorithms
8
0
77 people solved
Mar 1, 2026
Snowflake logo
Snowflake
Hard
Software Engineer Locked

Minimize coins with overpay and change

This question evaluates algorithmic optimization and combinatorial reasoning in the coin-change domain, measuring proficiency with efficient numeric m...

Coding & Algorithms
6
0
84 people solved
Mar 1, 2026
Salesforce logo
Salesforce
Medium
Software Engineer Locked

Maximize events attended given date ranges

This question evaluates understanding of interval scheduling and efficient algorithm design for allocating limited time-based resources, including con...

Coding & Algorithms
9
0
110 people solved
Mar 1, 2026
Google logo
Google
Easy
Software Engineer

Compute minimum rooms for time intervals

You are given a list of meeting time intervals, where each interval is represented as [start, end) (start time inclusive, end time exclusive) and star...

Coding & Algorithms
22
0
162 people solved
Mar 1, 2026
Harvey logo
Harvey
Medium
Software Engineer Locked

Implement retrieval and evaluation for a simple RAG

This question evaluates understanding of embedding-based retrieval, cosine similarity ranking, and retrieval evaluation metrics (Recall@10 and MRR@10)...

Coding & Algorithms
10
0
136 people solved
Mar 1, 2026
Microsoft logo
Microsoft
Medium
Software Engineer Locked

Reconstruct DNA from tagged fragments

This question evaluates understanding of sequence reconstruction, graph modeling, and traversal/orientation constraints, focusing on ordering labeled ...

Coding & Algorithms
7
0
129 people solved
Mar 1, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Group strings that are anagrams

This question evaluates string-processing and data-structuring competency, focusing on identifying and grouping anagrams through comparison of unorder...

Coding & Algorithms
14
0
204 people solved
Mar 1, 2026
Coinbase logo
Coinbase
Hard
Software Engineer

Generate NFT metadata and ensure uniqueness

You are implementing an NFT metadata generator. Each NFT is defined by selecting exactly one trait value from each trait category. You must generate a...

Coding & Algorithms
21
0
289 people solved
Mar 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