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
xAI logo
xAI
Medium
Software Engineer Locked

Flatten and unflatten nested Python structures

This question evaluates proficiency in manipulating nested data structures, deterministic traversal and mapping between hierarchical shapes and flat i...

Coding & Algorithms
8
0
102 people solved
Mar 1, 2026
LinkedIn logo
LinkedIn
Medium
Software Engineer

Group words that map to same phone digits

Problem On a classic phone keypad (T9), letters map to digits: - 2: ABC, 3: DEF, 4: GHI, 5: JKL, - 6: MNO, 7: PQRS, 8: TUV, 9: WXYZ Given a list of lo...

Coding & Algorithms
8
0
138 people solved
Oct 20, 2025
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
Amazon logo
Amazon
Medium
Software Engineer Locked

Find Conflicting Events

This question evaluates algorithmic problem-solving in coding and algorithms, focusing on grouping, sorting, and sliding-window techniques applied to ...

Coding & Algorithms
1
0
9 people solved
Jun 19, 2026
Amazon logo
Amazon
Medium
Software Engineer Locked

Kth Largest Perfect Binary Subtree

This question evaluates a candidate's ability to combine tree traversal with structural validation, requiring recognition of perfect binary subtrees a...

Coding & Algorithms
2
0
8 people solved
Jun 19, 2026
Lead Bank logo
Lead Bank
Medium
Software Engineer

Implement Stock Price Query APIs

You are given an initial collection of stock price records. Each record contains: - symbol: a stock name or ticker string - timestamp: initially a cal...

Coding & Algorithms
0
0
12 people solved
Apr 1, 2026
Oura logo
Oura
Medium
Software Engineer Locked

Implement Server Number Allocation

This question evaluates the ability to design efficient stateful data structures and algorithms for resource allocation, focusing on management of per...

Coding & Algorithms
2
0
18 people solved
Apr 1, 2026
Glean logo
Glean
Medium
Software Engineer

Find the Kth Largest in Two Sorted Arrays

You are given two arrays sorted in ascending order and an integer k. Return the kth largest element among all elements from both arrays combined. Coun...

Coding & Algorithms
1
0
22 people solved
Apr 1, 2026
Rippling logo
Rippling
Hard
Software Engineer AI Locked

Build a Flexible Expense Rules Engine

This question evaluates designing extensible rule engines, predicate composition, data modeling for expense- and trip-level aggregation, and reasoning...

Coding & Algorithms
17
0
125 people solved
Feb 27, 2026
Anthropic logo
Anthropic
Medium
Software Engineer

Generate outputs for images and pipelines

You are given m input images and n processing pipelines. - Each pipeline is an ordered list of k operations (e.g., resize, rotate, crop, blur, color t...

Coding & Algorithms
115
0
1247 people solved
Nov 10, 2025
Rippling logo
Rippling
Easy
Software Engineer

Implement an article voting tracker

Coding: Article Voting Tracker Design and implement a data structure to track users’ votes (upvote/downvote) on articles. Operations Implement functio...

Coding & Algorithms
24
0
438 people solved
Dec 5, 2025
SIG (Susquehanna) logo
SIG (Susquehanna)
Medium
Software Engineer

Implement 3x3 matrix transforms and rotation

Implement 3x3 matrix transforms and rotation For a 3x3 matrix, write Python code to: (a) transpose it in-place; (b) swap any two rows and any two colu...

Coding & Algorithms
17
0
129 people solved
Aug 8, 2025
Meta logo
Meta
Medium
Software Engineer

Find top-K frequent elements in a stream

You receive a large stream of items (e.g., integers or strings) that may not fit in memory. Design an algorithm that can return the top K most frequen...

Coding & Algorithms
8
0
80 people solved
Feb 25, 2026
Coinbase logo
Coinbase
Medium
Software Engineer Locked

Compute Total Manual Distance

This question evaluates array processing, state simulation, and algorithmic reasoning for deterministic stepwise processes, including handling unsorte...

Coding & Algorithms
5
0
54 people solved
Mar 29, 2026
Pinduoduo logo
Pinduoduo
Medium
Software EngineerSenior+

Traverse a Matrix in Spiral Order

Traverse a Matrix in Spiral Order Problem Given an m x n matrix, return all elements in clockwise spiral order. Begin at the top-left corner, move rig...

Coding & Algorithms
0
0
8 people solved
May 4, 2026
Google logo
Google
Hard
Software EngineerNew Grad Locked

Simulate In-Place Cellular State Updates

This question evaluates a candidate's ability to implement grid-based state transitions and manage in-place updates with strict space constraints, ass...

Coding & Algorithms
8
1
42 people solved
May 4, 2026
Vanta logo
Vanta
Medium
Software Engineer

Implement a uniq-like function

Implement a function similar to the Unix uniq utility. You are given a sequence of strings representing lines of text in the order they appear in a fi...

Coding & Algorithms
39
1
265 people solved
Feb 23, 2026
Nuro logo
Nuro
Medium
Software Engineer Locked

Reveal a Minesweeper Board

Implement the reveal operation for a Minesweeper board. Correctly handle mine clicks, numbered cells, and recursive empty-region expansion across all ...

Coding & Algorithms
1
0
10 people solved
Jun 17, 2026
Bytedance logo
Bytedance
Medium
Software Engineer Locked

Shortest Path in a Grid with Limited Obstacle Removal

This question evaluates a candidate's ability to extend classic breadth-first search into a state-augmented shortest-path problem, where the state inc...

Coding & Algorithms
0
0
4 people solved
Jun 17, 2026
Expedia logo
Expedia
Hard
Software EngineerSenior+ Locked

Maximum Sum Skyline

This question tests algorithmic problem-solving with array optimization under a mountain (single-peak) shape constraint. It evaluates practical applic...

Coding & Algorithms
0
0
8 people solved
Jun 17, 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