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

Assign Reviewers from Changed Files

Write a Java program that helps automatically assign a code reviewer after a pull request is opened. You are given: 1. A local Git repository path. 2....

Coding & Algorithms
2
0
19 people solved
Apr 29, 2026
Cursor logo
Cursor
Hard
Software Engineer

Implement a Merkle-tree repo diff

You are given two snapshots of a source-code repository on disk, each represented by a root directory path. Implement a Merkle tree over the directory...

Coding & Algorithms
16
0
158 people solved
Feb 14, 2026
Amazon logo
Amazon
Medium
Software Engineer Locked

Course Prerequisite Feasibility

This question tests graph theory fundamentals, specifically cycle detection in directed graphs as modeled by dependency constraints. It evaluates prac...

Coding & Algorithms
0
0
5 people solved
Jun 13, 2026
Google logo
Google
Medium
Software Engineer Locked

Implement text wrapping, waitlist, and intervals

This question evaluates skills in string parsing and word-wrapping logic, data-structure design for FIFO queue management and deletions, and interval ...

Coding & Algorithms
19
0
152 people solved
Feb 12, 2026
Google logo
Google
Medium
Software Engineer Locked

Solve graph and linked list tasks

This question evaluates competencies in dependency graph modeling and reachability, shortest-path computation in weighted directed graphs, and space-e...

Coding & Algorithms
17
0
178 people solved
Feb 12, 2026
Google logo
Google
Medium
Software Engineer

Implement frequency + distance top‑K queries

You will implement solutions for two coding interview questions. Question 1: Return the top‑K points by frequency (with distance tie‑break) You are gi...

Coding & Algorithms
74
0
620 people solved
Feb 12, 2026
OpenAI logo
OpenAI
Medium
Software Engineer

Implement toy-language types and generic substitution

Problem: Toy Language Type System (Printing + Generic Resolution) You are implementing a small type system for a custom “Toy Language”. Types can be: ...

Coding & Algorithms
72
1
1140 people solved
Nov 13, 2025
Citadel logo
Citadel
Medium
Software EngineerIntern

Simulate 2048 and pack board into uint64

Problem: 2048 move simulation + board compression You are implementing part of the 2048 game on a fixed 4×4 grid. Part A — Simulate a move Given a 4×4...

Coding & Algorithms
23
0
289 people solved
Feb 11, 2026
Microsoft logo
Microsoft
Hard
Software Engineer Locked

Assemble async stream reads into objects

This question evaluates a developer's skill in asynchronous stream I/O, buffer management, and binary parsing in C#, including correctly handling part...

Coding & Algorithms
6
0
48 people solved
Feb 11, 2026
Atlassian logo
Atlassian
Medium
Software Engineer Locked

Implement sequential and parallel URL requests

This question evaluates proficiency in HTTP networking, asynchronous and parallel programming (promises/futures), deduplication and order preservation...

Coding & Algorithms
6
0
61 people solved
Feb 11, 2026
Airbnb logo
Airbnb
Medium
Software Engineer Locked

Construct smallest number from I/D pattern

This question evaluates a candidate's ability to reason about permutation constraints, sequence ordering, and combinatorial construction under digit-u...

Coding & Algorithms
38
1
274 people solved
Feb 11, 2026
Databricks logo
Databricks
Hard
Software EngineerNew Grad

Implement streaming RLE and bit-packed codec

You are implementing a simple compression scheme for sequences of 32‑bit signed integers. The codec should support two encoding strategies: 1. Run‑Len...

Coding & Algorithms
50
0
678 people solved
Dec 10, 2025
Snowflake logo
Snowflake
Medium
Software Engineer Locked

Answer Repeated Lookup Queries Efficiently

Implement batched lookups over a sorted integer array, returning the first index of each queried value while preserving query order. Account for dupli...

Coding & Algorithms
2
0
15 people solved
Jun 12, 2026
Microsoft logo
Microsoft
Medium
Software Engineer Locked

In-Memory URL Shortener: Encode and Decode

This question evaluates a candidate's ability to design a class-based data structure with paired encode and decode operations that maintain a consiste...

Coding & Algorithms
0
0
7 people solved
Jun 12, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Solve Several Algorithm Problems

This collection evaluates proficiency in string processing (longest palindromic substrings), graph connectivity and union‑find style concepts for 2D p...

Coding & Algorithms
4
0
58 people solved
Mar 17, 2026
NVIDIA logo
NVIDIA
Medium
Software Engineer Locked

Implement polynomial multiplication API in C

This question evaluates proficiency in C programming, API design, low-level data representation for polynomials, and algorithmic competence in perform...

Coding & Algorithms
9
0
86 people solved
Feb 8, 2026
CloudKitchens logo
CloudKitchens
Medium
Software Engineer

Implement concurrent order-accept/pickup simulator

Concurrent restaurant order + pickup simulator Design and implement a thread-safe simulation for a restaurant that: - Receives incoming orders concurr...

Coding & Algorithms
11
0
112 people solved
Aug 20, 2025
Google logo
Google
Medium
Software Engineer Locked

Find the Longest Path of Equal-Valued Tree Nodes

Find the longest path of equal-valued nodes in a binary tree encoded as a breadth-first list. Clarify the ambiguity with strict BST terminology, then ...

Coding & Algorithms
2
0
4 people solved
Jun 11, 2026
Omnissa logo
Omnissa
Medium
Software Engineer Locked

Repeatedly Remove Adjacent Equal Characters

This question evaluates a candidate's ability to use a stack-based approach to repeatedly cancel out adjacent equal elements in a string. It tests und...

Coding & Algorithms
0
0
5 people solved
Jun 11, 2026
Whatnot logo
Whatnot
Easy
Software Engineer

Solve Adjacent-Deletion and Sorted-Square Problems

Solve the following coding problems. Discuss the approach and complexity before implementation. Problem 1: Remove adjacent duplicate pairs Given a str...

Coding & Algorithms
0
0
15 people solved
Apr 24, 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