Software Engineer Coding & Algorithms Interview Questions

Practice 2,712 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
Nordstrom logo
Nordstrom
Medium
Software Engineer

Optimize algorithms and validate inputs

Optimize algorithms and validate inputs For a typical medium-difficulty coding task, walk through your approach: enumerate edge cases, justify your in...

Coding & Algorithms
7
0
75 people solved
Jul 17, 2025
Google logo
Google
Medium
Software Engineer

Recommend top-K movies from similarity graph

Movie Recommendation: Top K You are building a simple movie recommendation feature. Input - A set of movies 0..(M-1). - An undirected similarity graph...

Coding & Algorithms
68
1
529 people solved
Dec 15, 2025
Ramp logo
Ramp
Hard
Software Engineer

Detect recurring transactions from a ledger

You are given a list of credit/debit card transactions. Each transaction has: - transaction_date (YYYY-MM-DD) - merchant (string) - amount (decimal, p...

Coding & Algorithms
43
0
498 people solved
Dec 15, 2025
Coursera logo
Coursera
Medium
Software Engineer

Implement plurality and majority voting

You are given an array votes of length n, where each element is a candidate identifier (string or integer). Implement two voting systems: 1) Plurality...

Coding & Algorithms
5
0
51 people solved
Dec 15, 2025
Goldman Sachs logo
Goldman Sachs
Medium
Software Engineer

Find first non-repeating character index

You are given two separate coding tasks. Task 1: First Unique Character Given a string s (lowercase/ASCII letters), return the index of the first char...

Coding & Algorithms
5
0
76 people solved
Dec 15, 2025
Bloomberg logo
Bloomberg
Medium
Software Engineer

Count friend requests based on age rules

Problem You are given an array ages, where ages[i] is the age of the i-th person. A person of age A will send a friend request to a person of age B if...

Coding & Algorithms
14
0
121 people solved
Dec 15, 2025
Affirm logo
Affirm
Medium
Software Engineer

Determine winner in optimal-play card game

Determine winner in optimal-play card game Given a row of N cards with integer values (values may be positive, zero, or negative), two players alterna...

Coding & Algorithms
19
1
156 people solved
Jul 15, 2025
Rippling logo
Rippling
Medium
Software Engineer AI Locked

Design a Driver Payroll System

This question evaluates a candidate's understanding of data structure design, time-series aggregation, and algorithmic complexity for in-memory accoun...

Coding & Algorithms
15
0
125 people solved
Mar 21, 2026
Voleon logo
Voleon
Hard
Software Engineer

Implement Kac ring with O(1) color and kstep

You are implementing a Kac ring dynamical system. Model - There are N positions arranged in a circle, indexed clockwise: 0, 1, ..., N-1. - Each positi...

Coding & Algorithms
45
0
395 people solved
Sep 24, 2025
Microsoft logo
Microsoft
Hard
Software Engineer Locked

Solve Throughput, Rate Limiting, and LFU

This set of tasks evaluates algorithmic problem-solving, data structure design, and systems-oriented reasoning by testing throughput calculation, roll...

Coding & Algorithms
10
0
91 people solved
Mar 20, 2026
TikTok logo
TikTok
Medium
Software Engineer

Reverse nodes in even-length linked-list groups

Problem Given the head of a singly linked list, you will traverse the list in contiguous groups of increasing size: the 1st group has size 1, the 2nd ...

Coding & Algorithms
5
0
74 people solved
Dec 11, 2025
Databricks logo
Databricks
Hard
Software EngineerNew Grad

Implement firewall matching with CIDR rules

Implement a simple IPv4 firewall rule matcher. Problem You are given an ordered list of firewall rules. Each rule has: - an action: ALLOW or DENY - a ...

Coding & Algorithms
11
1
177 people solved
Dec 10, 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
Hackerrank logo
Hackerrank
Medium
Software Engineer Locked

Find Final Ball Holder

This question evaluates understanding of functional graphs, cycle detection, and handling large-step transitions in deterministic mappings where repea...

Coding & Algorithms
3
0
41 people solved
Mar 18, 2026
Goldman Sachs logo
Goldman Sachs
Medium
Software Engineer

Solve string and hashmap interview tasks

Coding questions (solve both) 1) First non-repeating character Given a string s, return the first character that appears exactly once in the string. -...

Coding & Algorithms
18
0
130 people solved
Dec 9, 2025
Meta logo
Meta
Medium
Software Engineer

Find kth largest element in array

Question Given an unsorted array of integers nums and an integer k, return the k-th largest element in the array. The 1st largest element is the maxim...

Coding & Algorithms
4
0
58 people solved
Dec 8, 2025
Scale AI logo
Scale AI
Medium
Software Engineer

Compute party time blocks per neighborhood

You are given two datasets: 1. Parties: - party_id (string or integer) - start_timestamp (e.g., UNIX timestamp or datetime) - end_timestamp (...

Coding & Algorithms
29
0
266 people solved
Dec 8, 2025
DoorDash logo
DoorDash
Medium
Software Engineer

Compute cart total with best promotion

Assume you are implementing a checkout price calculator for an online shopping cart. You are given: - A list of items in the cart. Each item has: - ...

Coding & Algorithms
38
0
367 people solved
Dec 8, 2025
Coinbase logo
Coinbase
Medium
Software Engineer

Design crypto trading order control API

You are implementing part of a simple crypto trading system that manages client orders. Each order can be in one of several states: NEW, ACTIVE, PAUSE...

Coding & Algorithms
9
0
138 people solved
Dec 8, 2025
Scale AI logo
Scale AI
Medium
Software Engineer

Find LCA in a N-ary tree via DFS

You are given the root of a rooted N-ary tree (each node can have zero or more children) and two distinct nodes p and q that belong to the tree. Desig...

Coding & Algorithms
14
0
123 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