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.11.2026
Showing 20 results
Role
Nuro logo
Nuro
Hard
Software Engineer

Cluster 3D Points by a Distance Threshold

Implement cluster_points_3d(points, D). Create an undirected edge between two distinct 3D points when their Euclidean distance is strictly less than D...

Coding & Algorithms
0
0
4 people solved
May 9, 2026
Instacart logo
Instacart
Medium
Software Engineer Locked

Find Largest Adjacent Stock Price Change

This question evaluates algorithmic problem-solving and data-manipulation skills, specifically date-based sorting, computing signed versus absolute ad...

Coding & Algorithms
2
0
16 people solved
May 9, 2026
Grammarly logo
Grammarly
Medium
Software Engineer Locked

Reverse a Singly Linked List

Reverse a finite singly linked list represented by nested two-item Python lists. Reuse the existing node objects without allocating replacements, and ...

Coding & Algorithms
3
0
16 people solved
Jun 19, 2026
Affirm logo
Affirm
Medium
Software Engineer

Count Distinct PII in Underwriting Events

Count Distinct PII in Underwriting Events An event stream contains underwriting and fraud_flag events. Count the distinct nonempty personally identifi...

Coding & Algorithms
2
0
16 people solved
Apr 19, 2026
Google logo
Google
Medium
Software EngineerNew Grad

Return the Lexicographically Smallest Two-Sum Index Pair

Return the Lexicographically Smallest Two-Sum Index Pair Problem Implement twoSumSmallestPair(nums, target) -> pair. Return the lexicographically smal...

Coding & Algorithms
2
0
14 people solved
Dec 8, 2025
Airbnb logo
Airbnb
Medium
Software Engineer Locked

Count Candies from Unlockable Boxes

This question evaluates a candidate's understanding of graph traversal, state management, and object-oriented design to determine reachability and res...

Coding & Algorithms
1
1
31 people solved
May 27, 2026
Bytedance logo
Bytedance
Medium
Software Engineer Locked

Reverse Nodes in Groups of K

This question evaluates a candidate's ability to manipulate linked list pointers in place, handling in-group reversal while preserving overall structu...

Coding & Algorithms
1
0
17 people solved
Jun 18, 2026
DRW logo
DRW
Medium
Software Engineer

Solve three algorithmic OA tasks

Solve three algorithmic OA tasks Task 1 (Odd-frequency string): Given an integer N in [1..200000], write an algorithm that returns any length-N string...

Coding & Algorithms
12
0
133 people solved
Jul 31, 2025
Shopify logo
Shopify
Easy
Software Engineer

Simulate rover movement on a grid

You are building a rover navigation simulator. The exercise is incremental: you implement a single rover on a 2D grid, then extend the design to many ...

Coding & Algorithms
66
0
574 people solved
Jan 27, 2026
Qualcomm logo
Qualcomm
Medium
Software Engineer

Compute the Diameter of an Undirected Tree

Compute the Diameter of an Undirected Tree You are given an undirected tree with nodes numbered from 0 through n - 1. The diameter is the number of ed...

Coding & Algorithms
2
0
19 people solved
Apr 16, 2026
Pinduoduo logo
Pinduoduo
Medium
Software Engineer Locked

Generate a Matrix in Spiral Order

This question evaluates a candidate's ability to simulate array traversal and manage boundary conditions when filling a matrix in a specific geometric...

Coding & Algorithms
1
0
8 people solved
Jun 17, 2026
Meta logo
Meta
Easy
Software Engineer

Implement four coding challenges

You are asked to solve the following four independent coding problems. --- 1) Block Placement Simulator (Tetris-like) You have an empty n x m grid (ro...

Coding & Algorithms
9
0
84 people solved
Feb 8, 2026
Google logo
Google
Medium
Software Engineer

Troubleshoot CPU, latency, and DNS issues

A) A Linux server’s CPU usage suddenly spikes. What immediate checks and commands would you run (e.g., top/htop, pidstat, perf, iostat), how would you...

Coding & Algorithms
6
0
108 people solved
Sep 6, 2025
Optiver logo
Optiver
Hard
Software Engineer

Detect Currency Arbitrage After a Cycle Fee

Detect Currency Arbitrage After a Cycle Fee You are given a matrix of positive currency exchange rates, where rates[i][j] units of currency j are rece...

Coding & Algorithms
0
0
4 people solved
May 3, 2026
Optiver logo
Optiver
Hard
Software Engineer

Count Bounded Buy-and-Sell Sequences

Count Bounded Buy-and-Sell Sequences You start with k shares. On each transaction day, you either buy one share or sell one share, but holdings may ne...

Coding & Algorithms
0
0
4 people solved
May 3, 2026
Vanta logo
Vanta
Medium
Software Engineer

Order Classes by Prerequisites with Recursive DFS

Order Classes by Prerequisites with Recursive DFS Implement class_order(classes, prerequisites) using recursive depth-first search. classes contains d...

Coding & Algorithms
1
0
16 people solved
May 3, 2026
XPeng logo
XPeng
Medium
Software Engineer Locked

Implement Stable Softmax

This question evaluates understanding of numerical stability, floating-point arithmetic, normalization, and probability distributions when computing s...

Coding & Algorithms
1
0
12 people solved
May 3, 2026
Amazon logo
Amazon
Easy
Software Engineer Locked

Find Unique Target-Sum Pairs

This question evaluates array-processing skills, correctness in handling duplicate values, and the ability to identify unique value pairs whose sums m...

Coding & Algorithms
3
0
26 people solved
May 2, 2026
Harvey logo
Harvey
Medium
Software Engineer Locked

Evaluate Symbol Expressions

This question evaluates the ability to parse and evaluate arithmetic expressions with symbol references, perform recursive dependency resolution, and ...

Coding & Algorithms
2
0
40 people solved
May 2, 2026
Walmart Labs logo
Walmart Labs
Medium
Software Engineer Locked

Find shared courses between student pairs

This problem set evaluates data structures and algorithms competencies, covering mapping and set intersection for pairwise course overlap, permutation...

Coding & Algorithms
11
0
102 people solved
Jan 6, 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