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

Determine Whether a Binary Tree Is a Valid BST

Determine Whether a Binary Tree Is a Valid BST Problem Given a binary tree, determine whether the entire tree satisfies the strict binary-search-tree ...

Coding & Algorithms
0
0
4 people solved
Apr 15, 2026
Glean logo
Glean
Hard
Software Engineer

Search Words in a Character Grid

You are given a 2D grid board of lowercase English letters with m rows and n columns. A word can be constructed from letters of sequentially adjacent ...

Coding & Algorithms
7
0
130 people solved
Apr 15, 2026
Amazon logo
Amazon
Hard
Software Engineer Locked

Find Longest Activatable Server Streak

This question evaluates array algorithm skills, specifically recognition of sliding-window or two-pointer techniques and reasoning about time and spac...

Coding & Algorithms
3
0
36 people solved
Apr 15, 2026
Bytedance logo
Bytedance
Medium
Software EngineerSenior+

Find Words in a Character Grid

Implement findWords(board, words) for a word-search game. You are given an m x n grid of lowercase English letters and a list of lowercase dictionary ...

Coding & Algorithms
0
0
6 people solved
Apr 14, 2026
Apple logo
Apple
Hard
Software Engineer

Find the Extra Edge

You are given an undirected graph that started as a tree with n nodes labeled from 1 to n. One additional edge was then added between two different ex...

Coding & Algorithms
13
0
88 people solved
Apr 14, 2026
PayPal logo
PayPal
Medium
Software Engineer

Minimize a String Using Allowed Swaps

You are given a string s of lowercase English letters and an array pairs, where each element pairs[i] = [a, b] means you may swap the characters at in...

Coding & Algorithms
4
0
33 people solved
Apr 14, 2026
eBay logo
eBay
Medium
Software EngineerSenior+

Assign Ads to Browser Positions

Implement a function that assigns ads to browser positions for a single user. You are given: - positions: a list of browser position identifiers, such...

Coding & Algorithms
0
0
15 people solved
Apr 13, 2026
Uber logo
Uber
Medium
Software Engineer

Find a Bounded Subarray and Largest Square

Implement the following two independent coding tasks. Task A: Longest bounded-range subarray Given an integer array nums and an integer limit, return ...

Coding & Algorithms
1
0
14 people solved
Apr 12, 2026
DoorDash logo
DoorDash
Easy
Software Engineer Locked

Compute Courier Delivery Pay

This question evaluates a candidate's ability to work with time-interval arithmetic, interval union/overlap reasoning, and aggregation of time-based p...

Coding & Algorithms
3
0
39 people solved
Apr 12, 2026
Snowflake logo
Snowflake
Medium
Software Engineer

Implement Document Predicate APIs

Design a simple document service that stores text documents identified by filename. Implement these APIs: - InsertDoc(filename, content): store or ove...

Coding & Algorithms
10
1
80 people solved
Apr 12, 2026
Airbnb logo
Airbnb
Medium
Software Engineer Locked

Determine Exact Layover Booking

This question evaluates a candidate's competency in algorithmic problem solving, numerical precision handling, and combinatorial selection under exact...

Coding & Algorithms
59
1
412 people solved
Apr 12, 2026
LinkedIn logo
LinkedIn
Easy
Software Engineer

Count Trips From Vehicle Logs

You are given a text log of vehicle events on a road system. Each log record contains: - license_plate: a string identifying a vehicle - event_type: o...

Coding & Algorithms
3
0
20 people solved
Apr 11, 2026
Google logo
Google
Medium
Software Engineer Locked

Find Shortest Queue with Few Calls

This question evaluates algorithm design and analysis skills, focusing on working with restricted data structure APIs and minimizing total operations ...

Coding & Algorithms
6
0
67 people solved
Apr 10, 2026
Amazon logo
Amazon
Medium
Software Engineer

Solve Union-Find, Graph, and Stream Problems

Solve the following independent coding problems. 1. Merge Product Categories You are given a list of tuples (productA, productB). Each tuple means the...

Coding & Algorithms
0
0
6 people solved
Apr 9, 2026
Pinterest logo
Pinterest
Medium
Software Engineer

Assign Pins to Shortest Columns

You are given a list of pins, where each pin has a height, and a fixed number of columns in a masonry-style layout. Process the pins in their original...

Coding & Algorithms
0
0
11 people solved
Apr 9, 2026
Sigmacomputing logo
Sigmacomputing
Medium
Software Engineer

Build a Pivot Table Aggregator

Implement a function that builds a pivot table from a list of records. Each record contains a row_key, a column_key, and a numeric value. Requirements...

Coding & Algorithms
2
0
22 people solved
Apr 9, 2026
Airbnb logo
Airbnb
Medium
Software Engineer

Solve Linked-List and Iterator Problems

You are asked to solve two coding problems. Problem 1: Detect shared nodes between possibly cyclic linked lists You are given the heads of two singly ...

Coding & Algorithms
10
0
99 people solved
Apr 8, 2026
Waymo logo
Waymo
Medium
Software Engineer

Find Shortest Paths to Target Nodes

You are given a weighted directed graph representing distances between nodes. - There are n nodes labeled from 0 to n - 1. - edges[i] = [u, v, w] mean...

Coding & Algorithms
3
0
28 people solved
Apr 8, 2026
Uber logo
Uber
Medium
Software Engineer

Solve two interview coding problems

The interview included two coding problems. Problem 1: Find valid robot locations in a grid You are given a 2D grid containing empty cells and obstacl...

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