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

Return a valid course completion order

You are given an integer n representing n courses labeled 0..n-1 and a list of prerequisite pairs prerequisites, where each pair [a, b] means you must...

Coding & Algorithms
11
0
98 people solved
Jan 26, 2026
Notion logo
Notion
Medium
Software Engineer

Design a text editor with undo/redo

Design and implement a text document editor that maintains a single string of content and supports undo/redo of edits. Model each edit using the Comma...

Coding & Algorithms
66
0
594 people solved
Aug 13, 2025
Optiver logo
Optiver
Medium
Software Engineer

Implement price-based order matcher

Design and implement a price-based order matcher for unit-sized orders. You are given an array orders where each element is [type, price]: type = 1 de...

Coding & Algorithms
39
0
392 people solved
Aug 13, 2025
Verkada logo
Verkada
Medium
Software Engineer

Implement LRU and LFU caches

Implement two in-memory cache classes with fixed capacity: 1. Recent-use cache - get(key): return the value for key, or -1 if the key does not exis...

Coding & Algorithms
3
0
69 people solved
Jan 23, 2026
PayPal logo
PayPal
Medium
Software Engineer

Contrast TCP vs UDP; detect loss

Contrast TCP vs UDP; detect loss Contrast TCP and UDP in reliability, ordering, congestion control, connection setup, and overhead. How does TCP detec...

Coding & Algorithms
6
0
55 people solved
Aug 7, 2025
Stripe logo
Stripe
Medium
Software Engineer Locked

Propagate runtime ID across API requests

This question evaluates proficiency in runtime ID propagation across HTTP requests, JSON parsing and serialization, nested data traversal, and type-pr...

Coding & Algorithms
12
0
122 people solved
Jan 22, 2026
Citadel logo
Citadel
Medium
Software Engineer Locked

Merge K timestamped lists with timestamp coalescing

This question evaluates algorithmic skills in merging multiple sorted sequences, coalescing records by key (timestamp), merging sorted value arrays, a...

Coding & Algorithms
21
0
148 people solved
Jan 22, 2026
MongoDB logo
MongoDB
Medium
Software Engineer Locked

Implement a thread-safe high-concurrency LRU cache

This question evaluates understanding of concurrent data structures, synchronization strategies, and LRU cache semantics within the Coding & Algorithm...

Coding & Algorithms
18
0
149 people solved
Jan 22, 2026
Snowflake logo
Snowflake
Hard
Software Engineer Locked

Solve four OA algorithm problems

This multi-part exercise evaluates algorithmic problem-solving across combinatorics and geometry (counting axis-aligned square subgrids), string reord...

Coding & Algorithms
8
0
105 people solved
Jan 22, 2026
Google logo
Google
Hard
Software Engineer Locked

Compute minimax grid path and network delay

This question evaluates algorithmic problem-solving in shortest-path and path-optimization contexts, specifically minimax pathfinding on a grid and si...

Coding & Algorithms
20
0
238 people solved
Jan 22, 2026
Databricks logo
Databricks
Medium
Software Engineer Locked

Find the Best Commute Mode

This question evaluates competency in grid-based pathfinding, graph traversal, and multi-criteria optimization of path time and cost within the Coding...

Coding & Algorithms
3
0
22 people solved
May 17, 2026
Optiver logo
Optiver
Hard
Software EngineerIntern

Optimize flight and cargo bookings for profit

OptiCargo: make the booking algorithm profitable You are given two streams/lists: - Flights you may attempt to book. Each flight has: - flight_id ...

Coding & Algorithms
150
0
1206 people solved
Dec 5, 2025
Amazon logo
Amazon
Medium
Software EngineerIntern Locked

Return a valid task order

This question evaluates understanding of graph algorithms and dependency resolution, testing the ability to produce a valid ordering of tasks and reco...

Coding & Algorithms
3
0
40 people solved
Jan 21, 2026
Qube Research & Technologies logo
Qube Research & Technologies
Medium
Software Engineer

Implement flat_map, redistribute wealth evenly

Implement flat_map, redistribute wealth evenly Implement std::flat_map in C++, including its iterator; explain design choices and add thorough test ca...

Coding & Algorithms
4
0
71 people solved
Aug 4, 2025
Scale AI logo
Scale AI
Hard
Software Engineer Locked

Implement Dependency-Aware Task Scheduler

This question evaluates skills in designing and implementing data structures and algorithms for priority scheduling, dependency resolution, and dynami...

Coding & Algorithms
3
0
22 people solved
May 16, 2026
Airbnb logo
Airbnb
Hard
Software Engineer

Find best downhill ski run from a start

You are given an R x C grid of integers representing elevations. A skier starts at a given cell (sr, sc). From a cell, the skier may move up/down/left...

Coding & Algorithms
23
1
308 people solved
Jan 19, 2026
Affirm logo
Affirm
Easy
Software Engineer Locked

Compute Available Offers per User

This question evaluates event-stream processing, stateful per-user counting, and time-window filtering competencies, requiring correctness with ordere...

Coding & Algorithms
12
0
93 people solved
Mar 13, 2026
Citi logo
Citi
Medium
Software Engineer

Explain data structure fundamentals

Explain how a hash map works internally: hashing, collision resolution strategies (separate chaining vs. open addressing), load factor, and resizing. ...

Coding & Algorithms
7
0
74 people solved
Sep 6, 2025
Intuit logo
Intuit
Medium
Software Engineer

Solve word segmentation and React palindrome validation

Part A — String segmentation: Given a non-empty string s and a dictionary of valid words, design an algorithm to determine whether s can be segmented ...

Coding & Algorithms
8
0
76 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Implement autocomplete with top-K suggestions

Implement an autocomplete component that, given a history of query strings with frequencies, returns the top K suggestions for an input prefix in real...

Coding & Algorithms
2
0
44 people solved
Sep 6, 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