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

Compute party hours per town and city gaps

You are given (1) a region table describing a hierarchy of locations and (2) a list of party attendance time intervals (all timestamps occur within a ...

Coding & Algorithms
39
0
273 people solved
Dec 15, 2025
Meta logo
Meta
Medium
Software Engineer

Convert 32-bit integer to hexadecimal

Problem Given a 32-bit signed integer num, return its hexadecimal representation as a string. Requirements - Use lowercase letters a-f. - Do not inclu...

Coding & Algorithms
1
0
25 people solved
Dec 15, 2025
Meta logo
Meta
Medium
Software Engineer

Return all root-to-leaf path sums

Problem You are given the root of a binary tree where each node contains an integer value (may be negative). Return an array/list containing the sum o...

Coding & Algorithms
2
0
40 people solved
Dec 15, 2025
Microsoft logo
Microsoft
Medium
Software Engineer

Assemble DNA payload strings from tagged fragments

You are given a list of DNA-like fragments. Each fragment is a tuple: - start_tag: string - end_tag: string - payload: string A valid DNA chain is for...

Coding & Algorithms
14
0
224 people solved
Dec 15, 2025
Agoda logo
Agoda
Medium
Software Engineer

Find two numbers that sum to a target

Array sum lookup Given an integer array nums and an integer target, find two distinct indices i and j such that: - nums[i] + nums[j] == target - i != ...

Coding & Algorithms
7
0
66 people solved
Dec 14, 2025
Zoox logo
Zoox
Hard
Software Engineer Locked

Can a Car Meet a Truck?

This question evaluates a candidate's ability to reason about grid-based movement and time-indexed reachability, testing competencies in algorithmic a...

Coding & Algorithms
5
0
94 people solved
Dec 13, 2025
Coupang logo
Coupang
Medium
Software Engineer

Find shortest distance between two islands

Problem You are given an R x C binary grid where: - 1 represents land - 0 represents water The grid contains exactly two 4-directionally connected isl...

Coding & Algorithms
7
0
46 people solved
Dec 13, 2025
TikTok logo
TikTok
Medium
Software Engineer

Compute length of longest increasing subsequence

You are given an integer array nums of length n. A subsequence of nums is a sequence that can be derived from nums by deleting zero or more elements w...

Coding & Algorithms
7
0
69 people solved
Dec 10, 2025
Voleon logo
Voleon
Medium
Software Engineer

Implement sparse matrix addition and multiplication

Implement sparse-matrix operations with explicit error handling. Sparse matrix A matrix A has dimensions r x c and is sparse, meaning most entries are...

Coding & Algorithms
37
0
355 people solved
Dec 9, 2025
Voleon logo
Voleon
Medium
Software Engineer

Simulate an exchange and participation-rate trading

Implement a simplified trading simulation in three parts. Part 1 — Process market data / exchange interaction (order book) Design a minimal limit-orde...

Coding & Algorithms
86
0
703 people solved
Dec 9, 2025
Walmart Labs logo
Walmart Labs
Easy
Software EngineerSenior+

Merge two sorted arrays in-place

You are given two integer arrays sorted in non-decreasing order, and two integers m and n: - nums1 has length m + n. The first m elements of nums1 con...

Coding & Algorithms
7
0
71 people solved
Dec 9, 2025
LinkedIn logo
LinkedIn
Medium
Software Engineer

Implement an LRU cache with follow-ups

Coding: Implement an LRU Cache and discuss concurrency Design and implement an in-memory Least Recently Used (LRU) cache data structure. The cache sho...

Coding & Algorithms
15
0
207 people solved
Dec 8, 2025
Robinhood logo
Robinhood
Easy
Software Engineer

Design in-memory payment and friendship system

Design and implement an in-memory payment system with simple social features. The system processes a sequence of requests that can: 1. Register a user...

Coding & Algorithms
15
0
190 people solved
Dec 8, 2025
Snapchat logo
Snapchat
Hard
Software Engineer

Compute longest increasing path in matrix

You are given an m x n grid (matrix) of integers grid, where m >= 1 and n >= 1. A path in the matrix is a sequence of cells where: - You may move from...

Coding & Algorithms
5
0
67 people solved
Dec 8, 2025
Snapchat logo
Snapchat
Hard
Software Engineer

Count ways to decode digit string

You are given a string s consisting of digits '0' to '9'. The string encodes a message using the following mapping: - '1' → A, '2' → B, ..., '26' → Z....

Coding & Algorithms
12
0
83 people solved
Dec 8, 2025
Netflix logo
Netflix
Medium
Software Engineer

Group users by same last K watched movies

You are given a list of users' movie-watching histories. Each user’s history is an ordered list of movie IDs in the order they were watched (earliest ...

Coding & Algorithms
10
0
185 people solved
Dec 8, 2025
Uber logo
Uber
Medium
Software Engineer

Detect cycle in directed dependency graph

You are given a directed dependency graph representing services in a system. - There are n services, labeled from 0 to n - 1. - You are given a list o...

Coding & Algorithms
6
0
90 people solved
Dec 8, 2025
Verkada logo
Verkada
Medium
Software Engineer

Find motion intervals above threshold

You are processing data from a single security camera. You are given: - A threshold value T (a real number). - A vector (array) of time-stamped motion...

Coding & Algorithms
8
0
103 people solved
Dec 8, 2025
Rippling logo
Rippling
Medium
Software Engineer

Compute median of two sorted arrays

You are given two sorted arrays of integers nums1 and nums2. - nums1 has length m, nums2 has length n. - Both arrays are sorted in non-decreasing orde...

Coding & Algorithms
11
0
213 people solved
Dec 8, 2025
Meta logo
Meta
Medium
Software Engineer

Validate complete binary tree

You are given the root of a binary tree. A complete binary tree is defined as a binary tree in which: 1. Every level, except possibly the last, is com...

Coding & Algorithms
1
0
23 people solved
Dec 8, 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