Software Engineer Coding & Algorithms Interview Questions

Practice 2,743 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
Anchorage logo
Anchorage
Medium
Software Engineer Locked

Print the File System State

This question evaluates a candidate's ability to serialize and format in-memory data structures for deterministic textual output, focusing on represen...

Coding & Algorithms
0
0
6 people solved
Jun 9, 2026
Hive.Ai logo
Hive.Ai
Hard
Software Engineer Locked

Validate Adding an Edge to a Directed Acyclic Graph

Determine whether a proposed directed edge is new and can be added to an existing DAG without creating a cycle. Reject self-loops and duplicates, then...

Coding & Algorithms
0
0
11 people solved
Jun 8, 2026
Hive.Ai logo
Hive.Ai
Hard
Software Engineer Locked

Calculate Trapped Rain Water

Calculate how much rain water is trapped between nonnegative unit-width bars without mutating the input. A two-pointer scan tracks the highest boundar...

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

Reconstruct the Alphabet Order of an Alien Language

This question tests graph construction and topological sorting, core algorithmic skills for reasoning about partial orderings derived from constraints...

Coding & Algorithms
0
0
1 people solved
Jun 8, 2026
J.P. Morgan logo
J.P. Morgan
Medium
Software Engineer Locked

Merge Overlapping Intervals

This question tests practical array manipulation and sorting skills by requiring candidates to consolidate overlapping numeric intervals into a minima...

Coding & Algorithms
0
0
6 people solved
Jun 5, 2026
J.P. Morgan logo
J.P. Morgan
Medium
Software Engineer Locked

Can All Courses Be Completed?

This question tests graph traversal and cycle detection skills, specifically the ability to model dependency relationships as a directed graph. It eva...

Coding & Algorithms
0
0
2 people solved
Jun 5, 2026
J.P. Morgan logo
J.P. Morgan
Medium
Software Engineer Locked

Shift Non-Zero Elements Left In Place

This question tests a candidate's ability to perform in-place array manipulation while preserving element order, evaluating practical understanding of...

Coding & Algorithms
0
0
6 people solved
Jun 5, 2026
Tradedesk logo
Tradedesk
Medium
Software EngineerSenior+ Locked

Calculate Bowling Game Score

This question evaluates a candidate's ability to implement rule-based scoring logic, array processing, and stateful iteration to correctly aggregate f...

Coding & Algorithms
0
0
14 people solved
Jun 2, 2026
Notion logo
Notion
Medium
Software Engineer AI Locked

Find Top Errors in Time Window

This question evaluates the ability to parse JSON logs, apply time-window filtering with inclusive/exclusive boundaries, aggregate error frequencies, ...

Coding & Algorithms
1
1
22 people solved
Jun 1, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Maximize Throughput and Count Trigger Components

This question evaluates proficiency in algorithmic optimization under resource constraints (maximizing pipeline throughput within a budget) and in mod...

Coding & Algorithms
1
0
12 people solved
May 28, 2026
Amazon logo
Amazon
Medium
Software EngineerIntern Locked

Replace Delimited Tokens in a String

This question evaluates string parsing, token recognition, and dictionary lookup competencies for robust text replacement, including handling malforme...

Coding & Algorithms
2
0
15 people solved
May 28, 2026
Patron logo
Patron
Medium
Software Engineer Locked

Analyze Reports in a Nested Org Chart

Analyze a nested organization chart and classify every employee as an individual contributor or manager. Compute direct and total descendant counts in...

Coding & Algorithms
0
0
4 people solved
May 27, 2026
Nuro logo
Nuro
Medium
Software Engineer Locked

Map Weighted Random Draws to Indices

Map deterministic draws to weighted indices using cumulative ranges. Support large weights and many queries while preserving draw order and respecting...

Coding & Algorithms
0
0
9 people solved
May 26, 2026
Nuro logo
Nuro
Medium
Software Engineer Locked

Find Intersections Between Two Interval Lists

Find every non-empty intersection between two sorted lists of disjoint closed intervals. Preserve ascending order and correctly include intersections ...

Coding & Algorithms
1
0
10 people solved
May 26, 2026
Shield Ai logo
Shield Ai
Easy
Software EngineerSenior+ Locked

Count Pairs with the Minimum Absolute Difference

Count unordered index pairs whose values have the minimum absolute difference in an integer array. Sorting reveals the minimum gap, while duplicate ru...

Coding & Algorithms
0
0
6 people solved
May 25, 2026
Ramp logo
Ramp
Hard
Software Engineer Locked

Traverse an HTTP Maze with Retry Handling

Traverse a simulated HTTP maze with breadth-first search to return the shortest route from a start URL to an exit. Handle links, malformed input, succ...

Coding & Algorithms
0
0
3 people solved
May 25, 2026
Flexport logo
Flexport
Medium
Software Engineer Locked

Solve Two Robbery Optimization Variants

This question evaluates competence in dynamic programming for linear optimization and recursion/tree DP for hierarchical structures, as well as the ab...

Coding & Algorithms
0
0
6 people solved
May 24, 2026
Illumio logo
Illumio
Medium
Software Engineer Locked

Solve Matrix Traversal and Pair Sum

This question evaluates proficiency in array and matrix manipulation, including spiral traversal with boundary and edge-case handling, index managemen...

Coding & Algorithms
0
0
7 people solved
May 24, 2026
Amazon logo
Amazon
Medium
Software Engineer Locked

Minimize Circular Redistribution Cost

This question evaluates algorithmic problem-solving skills in array manipulation, circular data structures, load balancing, and cost optimization whil...

Coding & Algorithms
5
0
31 people solved
May 24, 2026
Databricks logo
Databricks
Medium
Software Engineer Locked

Implement a Snapshot Set Iterator

This question evaluates data structure design, versioning, and iterator consistency concepts within the Coding & Algorithms domain, focusing on implem...

Coding & Algorithms
3
0
29 people solved
May 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