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
F5Networks logo
F5Networks
Medium
Software EngineerIntern

Find Top Hashtags

You are given two arrays of length n: - tweets[i]: the content of the i-th tweet as a string - timestamps[i]: the publish time of the i-th tweet as an...

Coding & Algorithms
1
0
18 people solved
Jan 25, 2026
Dropbox logo
Dropbox
Medium
Software Engineer

Compute worst-case guesses for adaptive hangman

You are given a set of distinct lowercase words, all of the same length. A hidden word is chosen from this set, but the host is adversarial: after eac...

Coding & Algorithms
6
0
71 people solved
Jan 25, 2026
Tesla logo
Tesla
Medium
Software Engineer

Implement a Timed Task Scheduler

Implement a runnable task scheduler. The scheduler should allow clients to add new tasks at any time. Each task has: - A callback or function to execu...

Coding & Algorithms
0
0
7 people solved
Jan 24, 2026
MathWorks logo
MathWorks
Medium
Software EngineerIntern Locked

Maximize minimum value after k decrements

This question evaluates array-based optimization skills, resource-allocation reasoning under a fixed decrement budget, and algorithmic complexity anal...

Coding & Algorithms
2
0
32 people solved
Jan 22, 2026
Instacart logo
Instacart
Hard
Software Engineer Locked

Decode a password string into letters

This question evaluates string parsing and encoding/decoding skills, specifically mapping numeric tokens and handling delimiter characters within the ...

Coding & Algorithms
16
0
138 people solved
Jan 22, 2026
Instacart logo
Instacart
Hard
Software Engineer Locked

Evaluate query ratios from equations

This question evaluates a candidate's skill in modeling variable ratios as relational structures, reasoning about transitive numeric relationships, an...

Coding & Algorithms
10
0
119 people solved
Jan 22, 2026
Boeing logo
Boeing
Easy
Software Engineer Locked

Compute unique-substring length and first unique index

This question evaluates proficiency in string processing and character-frequency reasoning by combining tasks that measure longest distinct-character ...

Coding & Algorithms
1
0
23 people solved
Jan 22, 2026
TikTok logo
TikTok
Hard
Software Engineer Locked

Find k-th smallest subarray sum

This question evaluates algorithmic problem-solving skills in array processing, specifically understanding of subarray sum properties, selection and r...

Coding & Algorithms
7
0
56 people solved
Jan 22, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Bracket substrings matching any pattern

This question evaluates string manipulation and pattern-matching competency, including substring search, prioritization rules for leftmost and longest...

Coding & Algorithms
8
0
78 people solved
Jan 22, 2026
Applied logo
Applied
Medium
Software Engineer Locked

Merge collinear overlapping 2D segments

This question evaluates computational geometry skills, numerical robustness, and algorithmic implementation for merging collinear, overlapping 2D segm...

Coding & Algorithms
1
0
33 people solved
Jan 22, 2026
Applied logo
Applied
Medium
Software Engineer Locked

Scale Game of Life to huge matrices

This question evaluates a candidate's ability to design space-efficient, I/O-aware algorithms and streaming or external-memory techniques for processi...

Coding & Algorithms
3
0
39 people solved
Jan 22, 2026
Applied logo
Applied
Medium
Software Engineer Locked

Validate JSON against a protobuf-like schema

This question evaluates schema validation and data-typing skills, including understanding of JSON primitive types, recursive message structures, and c...

Coding & Algorithms
1
0
16 people solved
Jan 22, 2026
Microsoft logo
Microsoft
Hard
Software Engineer Locked

Group GPUs by node and partition by links

This question evaluates understanding of graph algorithms and combinatorial optimization, specifically skills in graph traversal, grouping by node att...

Coding & Algorithms
12
0
87 people solved
Jan 22, 2026
Netflix logo
Netflix
Medium
Software Engineer Locked

Design playlist with add/remove/shuffle

This question evaluates data structure design and algorithmic complexity skills, focusing on managing dynamic sets, uniform random selection, and aver...

Coding & Algorithms
31
0
221 people solved
Jan 22, 2026
Nio logo
Nio
Medium
Software Engineer Locked

Find kth smallest and count stair-climbing ways

This pair evaluates proficiency with order-statistics and selection algorithms for finding the k-th smallest element and with dynamic programming and ...

Coding & Algorithms
1
0
18 people solved
Jan 22, 2026
Salesforce logo
Salesforce
Medium
Software Engineer Locked

Flatten a nested JSON object

This question evaluates the ability to traverse and manipulate nested JSON-like structures, emphasizing concepts such as recursion or iterative traver...

Coding & Algorithms
16
0
119 people solved
Jan 22, 2026
Pinterest logo
Pinterest
Medium
Software Engineer Locked

Compute reachable cells for a cleaning robot

This question evaluates understanding of graph traversal, state-space modeling, and scalability when computing reachable cells on a 2D grid under 8-di...

Coding & Algorithms
38
0
271 people solved
Jan 22, 2026
Disney logo
Disney
Medium
Software Engineer Locked

Implement an LRU cache

This question evaluates understanding of data structures and algorithmic optimization for constant-time cache operations, with emphasis on cache evict...

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

Find longest common subsequence length

This question evaluates understanding of dynamic programming and sequence comparison algorithms by asking for the length of the longest common subsequ...

Coding & Algorithms
4
0
39 people solved
Jan 22, 2026
Coinbase logo
Coinbase
Hard
Software Engineer Locked

Implement banking, knapsack, and pagination tasks

This multi-part question evaluates stateful system design, ordered event processing and scheduling semantics for an in-memory banking command processo...

Coding & Algorithms
25
0
294 people solved
Jan 22, 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