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

Add two big integers from digit lists

You are given two non-empty singly linked lists (or arrays) representing two non-negative integers. The digits are stored in reverse order, and each n...

Coding & Algorithms
11
0
102 people solved
Nov 24, 2025
Snowflake logo
Snowflake
Hard
Software Engineer

Implement course scheduling and rate limiter analysis

You are given two independent coding problems. --- Problem 1: Course Scheduling You are planning to take a set of courses and are given prerequisite r...

Coding & Algorithms
16
0
219 people solved
Nov 22, 2025
xAI logo
xAI
Easy
Software Engineer

Phone Keypad Predictive Text Suggestions

Phone Keypad Predictive Text Suggestions You are building the predictive-text feature for a classic 9-key phone keypad. Each digit from 2 to 9 maps to...

Coding & Algorithms
1
0
13 people solved
Jun 7, 2025
Tripadvisor logo
Tripadvisor
Medium
Software Engineer

Build blog UI with API data and likes

You are asked to implement a small single-page web application in JavaScript (you may use any modern framework or plain JavaScript) to display and int...

Coding & Algorithms
5
0
47 people solved
Nov 20, 2025
Rippling logo
Rippling
Medium
Software EngineerIntern

Find median of two sorted arrays

You are given two sorted arrays of integers nums1 and nums2 in non-decreasing order. Let the lengths be m = nums1.length and n = nums2.length. Either ...

Coding & Algorithms
18
0
136 people solved
Nov 20, 2025
Microsoft logo
Microsoft
Medium
Software Engineer

Merge overlapping intervals

You are given an array of intervals, where each interval is represented as a pair of integers [start, end] with start <= end. The intervals may be uns...

Coding & Algorithms
3
0
55 people solved
Nov 19, 2025
Microsoft logo
Microsoft
Medium
Software Engineer

Find max consecutive elements with sum below target

You are given: - An integer array nums of length n, sorted in non-decreasing order. - An integer index such that 0 ≤ index < n. - An integer target. S...

Coding & Algorithms
8
0
84 people solved
Nov 17, 2025
Uber logo
Uber
Hard
Software Engineer

Check feasibility of AI course schedule

You are designing a learning path for n AI-related courses, labeled from 0 to n - 1. Some courses have prerequisites. For example, to take course b, y...

Coding & Algorithms
7
0
79 people solved
Nov 17, 2025
Optiver logo
Optiver
Hard
Software EngineerNew Grad

Cargo Order Allocation Across Departing Planes

A freight company assigns incoming shipping orders to a fixed fleet of cargo planes. You must implement the order-processing logic: decide whether eac...

Coding & Algorithms
0
0
10 people solved
Nov 16, 2025
Google logo
Google
Medium
Software Engineer

Compute minimal transfers to settle group expenses

Problem A group of friends go on a trip and share expenses. Each expense is recorded as an object: - payer (string): who paid the full amount - amount...

Coding & Algorithms
11
0
81 people solved
Nov 16, 2025
Agoda logo
Agoda
Medium
Software Engineer

Compute triangle min path and dice stopping stats

You are given two independent interview questions. 1) Triangle minimum path sum (DP) Given a triangular array triangle with n rows, find the minimum p...

Coding & Algorithms
9
0
89 people solved
Nov 14, 2025
Salesforce logo
Salesforce
Medium
Software Engineer

Remove duplicates from a singly linked list

You are given the head of a singly linked list of integers. Modify the list in place so that it contains only the first occurrence of each value (i.e....

Coding & Algorithms
9
0
117 people solved
Nov 13, 2025
Affirm logo
Affirm
Easy
Software Engineer

Implement an LRU cache

Problem Design and implement an LRU (Least Recently Used) cache that supports the following operations in average O(1) time: - get(key) -> value: Retu...

Coding & Algorithms
10
0
89 people solved
Nov 6, 2025
Applovin logo
Applovin
Hard
Software Engineer

Count invalid nodes in a BST

You are given the root of a binary tree. A valid Binary Search Tree (BST) must satisfy: for every node with value v, all values in its left subtree ar...

Coding & Algorithms
6
0
49 people solved
Nov 3, 2025
Stripe logo
Stripe
Medium
Software Engineer Locked

Process multi-currency payments with fees

This question evaluates a software engineer's competency in precise integer arithmetic and rounding semantics, multi-currency FX conversion with basis...

Coding & Algorithms
3
0
36 people solved
Nov 2, 2025
Bloomberg logo
Bloomberg
Medium
Software Engineer

Answer multi-round grid and data-structure questions

You are given several independent interview-style coding questions. 1) Find first/last occurrence in sorted array (+ dynamic updates follow-ups) Given...

Coding & Algorithms
18
0
135 people solved
Oct 30, 2025
Meta logo
Meta
Medium
Software Engineer Locked

Implement several string, tree, and BFS problems

This multi-part problem evaluates proficiency with core data structures and algorithms: binary tree traversal with column-aligned output, string parsi...

Coding & Algorithms
6
0
50 people solved
Oct 30, 2025
Apple logo
Apple
Medium
Software EngineerSenior+

Solve Digit-Square and Grid BFS Problems

Solve the following coding problems. Problem 1: Digit-square convergence Given a positive integer n, repeatedly replace n with the sum of the squares ...

Coding & Algorithms
0
0
10 people solved
Oct 28, 2025
Airbnb logo
Airbnb
Medium
Software Engineer

Simulate pouring water onto a 1D terrain

You are given a 1D terrain represented by an integer array heights, where heights[i] is the height of the column at index i. Part 1 — Render terrain W...

Coding & Algorithms
37
0
268 people solved
Oct 28, 2025
Uber logo
Uber
Medium
Software Engineer

Compute outer boundary of an N-ary tree

You are given the root of a rooted N-ary tree. Each node contains: - An integer value. - An ordered list of children from left to right (0 or more chi...

Coding & Algorithms
14
0
143 people solved
Oct 28, 2025

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