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.11.2026
Showing 20 results
Role
Amazon logo
Amazon
Easy
Software EngineerIntern

Compute the Minimum Number of Meeting Rooms

Compute the Minimum Number of Meeting Rooms Problem Implement minimumMeetingRooms(intervals) -> roomCount. Each meeting is a half-open interval [start...

Coding & Algorithms
0
0
11 people solved
Aug 1, 2026
Amazon logo
Amazon
Easy
Software EngineerIntern

Find the Lowest Common Ancestor in a Binary Tree

Find the Lowest Common Ancestor in a Binary Tree Problem Implement lowestCommonAncestor(left, right, root, first, second) -> nodeId. The binary tree h...

Coding & Algorithms
1
0
11 people solved
Aug 1, 2026
Figma logo
Figma
Medium
Software Engineer

Validate a Balanced INDENT and DEDENT Token Stream

Validate a Balanced INDENT and DEDENT Token Stream Problem A tokenizer has already converted a document into a sequence of tokens. Two token values ha...

Coding & Algorithms
1
0
19 people solved
Jul 21, 2026
Plaid logo
Plaid
Medium
Software Engineer

Count Completed Jobs in a Serial Multi-Worker Pipeline

Count Completed Jobs in a Serial Multi-Worker Pipeline An automation pipeline contains stages that execute in order. Each stage is represented as [num...

Coding & Algorithms
6
0
55 people solved
Jul 13, 2026
Netflix logo
Netflix
Medium
Software Engineer

Count Pairs of Strings with Disjoint Character Sets

Count Pairs of Strings with Disjoint Character Sets Problem Implement countDisjointStringPairs(words) -> count. Count unordered index pairs (i, j) wit...

Coding & Algorithms
0
0
11 people solved
Jul 31, 2026
Amazon logo
Amazon
Medium
Software Engineer

Resolve Package Dependencies with Cycle Detection

Implement buildOrder(dependencies, target), which returns the packages needed to build and install target in a valid dependency-first order. dependenc...

Coding & Algorithms
1
0
12 people solved
Jul 29, 2026
Capital One logo
Capital One
Medium
Software Engineer

Sort Every Concentric Matrix Border Clockwise

Sort Every Concentric Matrix Border Clockwise Given a nonempty rectangular integer matrix, process each concentric layer independently. For a layer, l...

Coding & Algorithms
7
0
65 people solved
Jul 21, 2026
Point72 logo
Point72
Hard
Software Engineer

Maximize Fixed Positions After Deletions

Given an integer array a, delete zero or more elements while preserving the relative order of the elements that remain. Let the resulting array be b, ...

Coding & Algorithms
1
0
10 people solved
Aug 1, 2026
Databricks logo
Databricks
Medium
Software EngineerSenior+

Detect a K-in-a-Row Win on a Rectangular Board

Detect a K-in-a-Row Win on a Rectangular Board Implement winning_move(board, row, col, k) after a valid move has placed a player's nonzero integer tok...

Coding & Algorithms
0
0
11 people solved
Jul 30, 2026
Visa logo
Visa
Medium
Software EngineerSenior+

Count Perfect Digit-Frequency Substrings

Count Perfect Digit-Frequency Substrings Problem Implement countPerfectSubstrings(s, k). The string s contains only decimal digits. A nonempty substri...

Coding & Algorithms
0
0
8 people solved
Aug 3, 2026
Netflix logo
Netflix
Medium
Software Engineer

Find the Longest Substring Without Repeated Characters

Find the Longest Substring Without Repeated Characters Problem Implement longestUniqueSubstringLength(text) -> length. Return the length of the longes...

Coding & Algorithms
1
0
10 people solved
Jul 31, 2026
Snowflake logo
Snowflake
Medium
Software Engineer

Traverse All Reachable Pages With Parallel BFS

Problem A collection of web pages is modeled as a directed graph. graph[page] lists the pages linked from page in a stable order. Implement reachable_...

Coding & Algorithms
5
0
39 people solved
Jul 11, 2026
Pinduoduo logo
Pinduoduo
Medium
Software Engineer

Implement a Followable Microblog Timeline

Implement a Followable Microblog Timeline Design an in-memory microblog service with these operations: `text post(user_id, tweet_id) follow(follower_i...

Coding & Algorithms
1
0
18 people solved
Jul 26, 2026
Salesforce logo
Salesforce
Medium
Software Engineer

Delete One Character Type to Minimize Unique Segments

Problem Implement min_unique_segments_after_deletion(s) for a nonempty lowercase English string. Choose exactly one character value that appears in s ...

Coding & Algorithms
2
0
36 people solved
Jul 13, 2026
Amazon logo
Amazon
Medium
Software Engineer

Track Missing Package IDs from Out-of-Order Receipts

Packages have nonnegative integer IDs starting at 0, but they may be received out of order. Support two operations: - receive(id) records that package...

Coding & Algorithms
0
0
9 people solved
Aug 1, 2026
Amazon logo
Amazon
Medium
Software EngineerSenior+

Implement Multi-Player Tic-Tac-Toe

Implement Multi-Player Tic-Tac-Toe Implement a game class for an N by N board and K players. Each player has a distinct one-character printable mark. ...

Coding & Algorithms
4
0
50 people solved
Jul 17, 2026
Pinterest logo
Pinterest
Medium
Software Engineer

Rebalance Experiment Buckets with Minimal Reassignment

Rebalance Experiment Buckets with Minimal Reassignment Problem Implement rebalanceBuckets(bucketCount, groups, targetPercentages) -> rebalancedGroups....

Coding & Algorithms
0
0
14 people solved
Jul 23, 2026
Anthropic logo
Anthropic
Hard
Software Engineer

Build a Progressive Banking Ledger

Build a Progressive Banking Ledger The source reports the four feature stages but not exact ledger semantics. The APIs, event priorities, cashback tim...

Coding & Algorithms
2
0
46 people solved
Jul 8, 2026
Medium
Software EngineerNew Grad

Count Grid Paths Without Three Consecutive Moves

Count Paths Without Three Consecutive Moves A frog starts at (0, 0) and must reach (right_steps, up_steps). Every move is exactly one unit right (R) o...

Coding & Algorithms
2
0
23 people solved
Jul 28, 2026
Uber logo
Uber
Medium
Software EngineerIntern

Minimum Delivery Cost Between Cities

Minimum Delivery Cost Between Cities Implement minimum_delivery_costs(delivery_charges, queries). There are n cities indexed from 0 to n - 1, and city...

Coding & Algorithms
15
1
124 people solved
Jul 3, 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