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

Produce a Deterministic Course Plan

Produce a Deterministic Course Plan There are num_courses courses numbered 0 through num_courses - 1. Each prerequisite pair is [course, prerequisite]...

Coding & Algorithms
1
0
15 people solved
Apr 21, 2026
Airbnb logo
Airbnb
Hard
Software Engineer

Solve a Two-by-Three Sliding Puzzle

Solve a Two-by-Three Sliding Puzzle You are given a 2 x 3 board containing the integers 0 through 5 exactly once. The value 0 is the empty square. In ...

Coding & Algorithms
1
0
10 people solved
Apr 21, 2026
Airbnb logo
Airbnb
Hard
Software Engineer

Count Consecutive Positive Integer Sums

Count Consecutive Positive Integer Sums Given a positive integer n, return the number of ways to write n as a sum of one or more consecutive positive ...

Coding & Algorithms
1
0
10 people solved
Apr 21, 2026
Optiver logo
Optiver
Medium
Software Engineer

Days Between Two Calendar Dates

Days Between Two Calendar Dates You are given two dates as strings, each in the format YYYY-MM-DD. Write a function that returns the number of days be...

Coding & Algorithms
2
0
20 people solved
Apr 21, 2026
Chicago logo
Chicago
Medium
Software Engineer

Build an Ordered Latest-Quote Container

Build an Ordered Latest-Quote Container Implement a top-level operation runner for incoming stock quotes. At most one quote per symbol may be present....

Coding & Algorithms
1
0
12 people solved
Apr 20, 2026
Chicago logo
Chicago
Medium
Software Engineer

Implement a Constant-Time Simple Moving Average

Implement a Constant-Time Simple Moving Average Implement a top-level operation runner for a simple moving average over a fixed-size window of the mos...

Coding & Algorithms
1
0
13 people solved
Apr 20, 2026
Bytedance logo
Bytedance
Medium
Software EngineerSenior+

Implement Sliding Windows and LRU Cache

You are given two coding tasks. Task 1: Longest Subarray of Ones Given a binary array nums and an integer k, return the maximum length of a contiguous...

Coding & Algorithms
1
0
15 people solved
Apr 20, 2026
Upstart logo
Upstart
Medium
Software Engineer

Implement Three Assessment Functions

An online assessment contains three independent programming tasks. Implement each function clearly and efficiently. 1. Compute coordinate bounds - ...

Coding & Algorithms
1
0
12 people solved
Apr 20, 2026
Amazon logo
Amazon
Medium
Software EngineerIntern

Implement Cache and Rotate Matrix

Solve the following two independent coding tasks. Task 1: Implement an LRU Cache Design a data structure LRUCache that stores integer keys and integer...

Coding & Algorithms
2
0
49 people solved
Apr 20, 2026
Anthropic logo
Anthropic
Medium
Software Engineer

Implement a Least-Recently-Used Cache

Design and implement an in-memory least-recently-used cache. Requirements: - The cache is initialized with a positive integer capacity. - Implement ge...

Coding & Algorithms
1
0
7 people solved
Apr 19, 2026
Uber logo
Uber
Medium
Software Engineer

Build a QuadTree From a Grid

Implement a compressed QuadTree for a square grid. You are given an n x n grid of values, where n is a power of two. The values are not limited to bin...

Coding & Algorithms
0
0
7 people solved
Apr 18, 2026
Uber logo
Uber
Hard
Software Engineer

Determine Whether a Word Exists in a Character Grid

Given a 2D character grid and a word, return whether the word can be formed by moving horizontally or vertically between adjacent cells without reusin...

Coding & Algorithms
0
0
12 people solved
Apr 17, 2026
Uber logo
Uber
Hard
Software Engineer

Maintain the First Value That Appears Exactly Once

Design a data structure that maintains a stream of integers and returns the first value that appears exactly once. Implement: `python class FirstUniqu...

Coding & Algorithms
0
0
1 people solved
Apr 17, 2026
Box logo
Box
Easy
Software Engineer

Implement a Leaky Bucket Rate Limiter

Implement a leaky bucket rate limiter. You are given a class template for a rate limiter that controls whether incoming requests should be accepted or...

Coding & Algorithms
1
0
5 people solved
Apr 17, 2026
Meta logo
Meta
Medium
Software Engineer

Solve Array, Matrix, and Recommendation Problems

During an onsite coding interview, solve the following independent tasks. Problem 1: In-place unique prefix You are given a nondecreasing integer arra...

Coding & Algorithms
0
0
16 people solved
Apr 17, 2026
Netflix logo
Netflix
Medium
Software Engineer

Implement TTL Cache and Tree Balance Reporting

Complete both coding tasks. Task A: Time-limited cache Design and implement an in-memory cache where every key expires after a time-to-live duration. ...

Coding & Algorithms
1
0
13 people solved
Apr 17, 2026
Anthropic logo
Anthropic
Hard
Software Engineer

Group Duplicate Files by Content

Group Duplicate Files by Content Given a snapshot of files, return groups of paths whose complete contents are identical. The interview report preserv...

Coding & Algorithms
0
0
6 people solved
Apr 16, 2026
Collegevine logo
Collegevine
Medium
Software Engineer

Find the Highest-Cost Top-Level Job

You are given a local JSON file, jobs.json, containing an array of background job records. Each record has: - id: a unique job identifier - parent_id:...

Coding & Algorithms
1
0
13 people solved
Apr 16, 2026
Uber logo
Uber
Medium
Software EngineerSenior+

Find Any Available Meeting Room

You are given multiple meeting rooms. For each room, the existing bookings are represented as a list of non-overlapping time intervals sorted by start...

Coding & Algorithms
9
0
55 people solved
Apr 16, 2026
Aurora logo
Aurora
Medium
Software Engineer

Evaluate an Arithmetic Expression

Evaluate an Arithmetic Expression Implement a function that evaluates a valid arithmetic expression containing non-negative integers, the binary opera...

Coding & Algorithms
0
0
7 people solved
Apr 15, 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