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
eBay logo
eBay
Hard
Software Engineer

Determine Reachability for a Chinese-Chess Horse with Blocked Legs

Determine Reachability for a Chinese-Chess Horse with Blocked Legs Implement a function that determines whether a Chinese-chess horse can reach a targ...

Coding & Algorithms
5
1
45 people solved
Jul 9, 2026
Nextdoor logo
Nextdoor
Medium
Software Engineer

Merge Weekly Time Intervals

Implement merge_weekly_intervals(intervals). Each interval is [start_day, start_time, end_day, end_time]. Days are Mon, Tue, Wed, Thu, Fri, Sat, or Su...

Coding & Algorithms
0
0
4 people solved
Aug 3, 2026
Netflix logo
Netflix
Medium
Software Engineer

Analyze Overlap in Closed Intervals

Implement closed_interval_overlap(intervals, query_points). Each interval [start, end] is closed, so it contains both endpoints. Return [[maximum_over...

Coding & Algorithms
0
0
5 people solved
Jul 31, 2026
Bytedance logo
Bytedance
Easy
Software Engineer

Merge Overlapping Intervals

Merge Overlapping Intervals Implement merge_intervals(intervals) for a list of closed integer intervals. Each interval is [start, end] with start <= e...

Coding & Algorithms
1
0
22 people solved
Jul 22, 2026
Databricks logo
Databricks
Medium
Software Engineer

Find the Earliest Anagram Window

Find the Earliest Anagram Window Problem Implement firstAnagramStart(text, pattern) -> index. Return the zero-based start index of the earliest contig...

Coding & Algorithms
1
0
19 people solved
Jun 29, 2026
Anthropic logo
Anthropic
Hard
Software Engineer

Build a Progressive Employee Tracker

Build a Progressive Employee Tracker The source reports four tracker stages but not exact calls or failure values. The command driver and ordering rul...

Coding & Algorithms
5
0
52 people solved
Jul 8, 2026
Bytedance logo
Bytedance
Hard
Software Engineer

Build the Largest Allowed Number Below a Limit

Build the Largest Allowed Number Below a Limit Problem Implement largestAllowedBelow(limit, digits) -> result. limit is a positive decimal integer rep...

Coding & Algorithms
0
0
8 people solved
Jul 21, 2026
Walmart Labs logo
Walmart Labs
Easy
Software Engineer

Find the Longest Even-Length Word

Find the Longest Even-Length Word Implement longest_even_word(sentence). Words are separated by one or more spaces. Return the first word among those ...

Coding & Algorithms
0
0
2 people solved
Aug 11, 2026
Truefoundry logo
Truefoundry
Medium
Software Engineer

Query a Versioned Array

Query a Versioned Array A fixed-length array starts with all values equal to zero. Process update, save, and get operations. An update changes one ind...

Coding & Algorithms
0
0
4 people solved
Aug 1, 2026
Gusto logo
Gusto
Medium
Software Engineer

Distribute Money Fairly Under Recipient Caps

Distribute Money Fairly Under Recipient Caps Problem Implement distribute(amount, recipients). amount is a pool of nonnegative integer minor currency ...

Coding & Algorithms
0
0
4 people solved
Aug 1, 2026
Capital One logo
Capital One
Medium
Software Engineer

Arrange Match Results in Repeating Win-Draw-Loss Order

Arrange Match Results in Repeating Win-Draw-Loss Order You are given a string containing only W, D, and L. Rearrange all characters into rounds. In ea...

Coding & Algorithms
4
0
41 people solved
Jul 21, 2026
Retell logo
Retell
Medium
Software Engineer

Query an Indexed In-Memory Numeric Table

Query an Indexed In-Memory Numeric Table Problem Implement queryIndexedRows(rows, queries) -> answers for one immutable in-memory table containing onl...

Coding & Algorithms
0
0
5 people solved
Jul 27, 2026
Serval logo
Serval
Medium
Software Engineer

Find Shared Motion Periods Across Camera Streams

Find Shared Motion Periods Across Camera Streams A camera emits readings (timestamp, intensity) sorted by strictly increasing timestamp. Intensity is ...

Coding & Algorithms
1
0
18 people solved
Jul 12, 2026
Google logo
Google
Medium
Software Engineer Locked

Find a Horizontal Cut That Bisects Rectangle Area

Solve a computational-geometry problem that asks for the horizontal line dividing the combined area of many disjoint rectangles in half. The exercise ...

Coding & Algorithms
9
2
75 people solved
Jun 4, 2026
Remitly logo
Remitly
Medium
Software Engineer

Validate a Bijective Substitution Cipher

Validate a Bijective Substitution Cipher Given a plaintext string and an encoded string of equal length, determine whether one consistent one-to-one c...

Coding & Algorithms
0
0
6 people solved
Jul 24, 2026
Hudson logo
Hudson
Medium
Software Engineer

Simulate Players Moving Under a Watcher's Gaze

Simulate Players Moving Under a Watcher's Gaze A one-dimensional road starts at 0 and ends at length. Each player begins at a supplied position and wa...

Coding & Algorithms
1
0
15 people solved
Jul 8, 2026
Amazon logo
Amazon
Easy
Software Engineer

Find the Single Value in a Sorted Array of Pairs

Find the Single Value in a Sorted Array of Pairs Problem Implement singleNonDuplicate(values) -> value. values is sorted in nondecreasing order. Exact...

Coding & Algorithms
1
0
16 people solved
Jun 22, 2026
Cisco logo
Cisco
Easy
Software Engineer

Longest Substring Without Repeated Characters

Problem Implement longest_unique_substring(s). Return the longest contiguous substring of s that contains no repeated character. If several substrings...

Coding & Algorithms
1
0
11 people solved
Jul 16, 2026
Lead logo
Lead
Medium
Software Engineer

Process a Mutable Stock-Price Log

Process a Mutable Stock-Price Log Build a small stock-price log and process a sequence of queries and updates. `python def process_stock_log( init...

Coding & Algorithms
2
0
25 people solved
Jul 8, 2026
Gusto logo
Gusto
Medium
Software Engineer

Calculate Tax from Progressive Brackets

Calculate Tax from Progressive Brackets Problem Implement calculateProgressiveTax(income, upperBounds, ratesBps) -> tax. income is a nonnegative integ...

Coding & Algorithms
0
0
3 people solved
Aug 1, 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