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

Determine Reporting Relationships

Build an in-memory organization model that supports three operations on employee IDs: 1. add_manager(a, b): employee a is the direct manager of employ...

Coding & Algorithms
3
0
39 people solved
Feb 22, 2026
Meta logo
Meta
Medium
Software Engineer

Find Kth Largest and Tree Ancestors

In a technical phone interview, the candidate was asked two coding problems in the same round: 1. K-th largest element in an array Given an unsor...

Coding & Algorithms
3
0
56 people solved
Feb 22, 2026
Palo logo
Palo
Medium
Software Engineer

Find Maximum Rectangle in Bar Chart

Given an array heights of n non-negative integers, where each value represents the height of a vertical bar in a bar chart and every bar has width 1, ...

Coding & Algorithms
1
0
15 people solved
Feb 20, 2026
Uber logo
Uber
Medium
Software Engineer

Count connected islands using Union-Find

You are given an m x n grid of characters where '1' represents land and '0' represents water. An island is a group of horizontally or vertically adjac...

Coding & Algorithms
29
0
227 people solved
Feb 20, 2026
Armada logo
Armada
Medium
Software Engineer

Fetch paginated data from two APIs

Write a function get_enriched_records(api_a_url, api_b_url). api_a_url returns paginated JSON in the form: `json { "data": [ {"id": 1, "ref_id":...

Coding & Algorithms
3
0
27 people solved
Feb 17, 2026
Voleon logo
Voleon
Hard
Software EngineerNew Grad Locked

Solve classic coding interview problems

These problems evaluate algorithmic problem-solving skills including dynamic programming and combinatorics for the egg-dropping scenario, array manipu...

Coding & Algorithms
25
0
166 people solved
Feb 15, 2026
Bytedance logo
Bytedance
Medium
Software Engineer

Count Similar Photo Groups

You are given n photos labeled 0 to n - 1 and an n x n binary matrix isSimilar. - isSimilar[i][j] = 1 means photo i and photo j are directly similar. ...

Coding & Algorithms
2
0
21 people solved
Feb 15, 2026
Palo logo
Palo
Medium
Software Engineer

Implement an Alert Execution Engine

You are given an alert client API that provides alert configurations, metric query execution, and notification methods. Implement an alert execution e...

Coding & Algorithms
0
0
8 people solved
Feb 13, 2026
Grammarly logo
Grammarly
Medium
Software Engineer

Merge overlapping corrections

Implement correctionMerge(corrections). You are given a list of text-correction spans. Each correction applies to an inclusive interval [start, end] a...

Coding & Algorithms
11
0
107 people solved
Feb 13, 2026
Google logo
Google
Medium
Software Engineer

Maximize coins collected by tokens jumping +3

You are given a single-player board game represented by a string board of length N (1 ≤ N ≤ 100). Each character is one of: - '.': empty cell - 'T': a...

Coding & Algorithms
5
0
53 people solved
Feb 13, 2026
Coinbase logo
Coinbase
Hard
Software Engineer

Maximize block fee with transaction selection

You are given N transactions. Each transaction has: - id (unique identifier) - size (positive integer) - fee (positive integer) You are building a blo...

Coding & Algorithms
29
0
311 people solved
Feb 13, 2026
Google logo
Google
Medium
Software EngineerNew Grad

Design Tic-Tac-Toe With K Players

Design and implement a Tic-Tac-Toe game engine. You are given: - k players, each with a unique player ID or mark. - An n x n board, initially empty. -...

Coding & Algorithms
3
0
20 people solved
Feb 12, 2026
Bloomberg logo
Bloomberg
Medium
Software Engineer

Implement sliding-window timestamped average

Problem Implement a class that maintains a time-based sliding window of records and can return the average score within the current window. Requiremen...

Coding & Algorithms
8
0
120 people solved
Feb 12, 2026
Citadel logo
Citadel
Medium
Software Engineer

Compute BBO and NBBO from order data

You are given a list data of order records. Each record is a 4-tuple: ` (exchange_id, price, quantity, order_type) ` - exchange_id: string/int identif...

Coding & Algorithms
20
0
284 people solved
Feb 12, 2026
Applied logo
Applied
Easy
Software Engineer

Group duplicate files by content

Problem You are given a list of files in a filesystem. Each file has: - a full path (string) - a file size in bytes (integer) - file contents (concept...

Coding & Algorithms
4
0
38 people solved
Feb 12, 2026
LinkedIn logo
LinkedIn
Medium
Software Engineer

Design O(1) insert/delete and frequency-weighted random

Problem Design a data structure that supports the following operations in average \(O(1)\) time: 1. add(x) -> bool - Inserts value x into the colle...

Coding & Algorithms
14
1
199 people solved
Feb 12, 2026
Nuro logo
Nuro
Easy
Software Engineer Locked

Parse logs and count error codes

This question evaluates parsing and sanitizing structured text, extracting specific fields, and performing frequency aggregation of identifiers such a...

Coding & Algorithms
4
0
75 people solved
Feb 12, 2026
Amazon logo
Amazon
Hard
Software Engineer Locked

Maximize protected population and bitwise AND

This paired problem evaluates array manipulation and resource-allocation reasoning for maximizing covered population in a constrained-movement scenari...

Coding & Algorithms
17
0
182 people solved
Feb 12, 2026
Databricks logo
Databricks
Hard
Software Engineer Locked

Minimize run-length encoded length with deletions

This question evaluates proficiency in string manipulation, run-length encoding concepts, and dynamic programming-based optimization under deletion co...

Coding & Algorithms
29
0
502 people solved
Feb 12, 2026
Flipster logo
Flipster
Easy
Software Engineer

Compute max profit from one stock trade

Given an integer array prices where prices[i] is the stock price on day i, compute the maximum profit you can achieve by choosing at most one day to b...

Coding & Algorithms
2
0
33 people solved
Feb 12, 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