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

Solve Three Coding Problems

This set of problems evaluates competencies in streaming data handling and incremental aggregation, time-dependent grid traversal and reachability und...

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

Implement encryption and constant-time random set

This question evaluates understanding of symmetric shared-secret string transformation and the design of a randomized set supporting expected O(1) ope...

Coding & Algorithms
12
0
133 people solved
Feb 8, 2026
Amazon logo
Amazon
Hard
Software EngineerIntern Locked

Merge two sorted arrays in-place

This question evaluates array-manipulation and in-place algorithm skills, including understanding of sorted-data merging, index/pointer management, an...

Coding & Algorithms
8
0
107 people solved
Feb 8, 2026
Databricks logo
Databricks
Medium
Software EngineerSenior+

Implement RLE and bit-packing compression

You are asked to implement two related compression/decompression schemes: Run-Length Encoding (RLE) and bit-packing. --- Part 1 — Run-Length Encoding ...

Coding & Algorithms
34
1
239 people solved
Oct 10, 2025
Bloomberg logo
Bloomberg
Hard
Software EngineerNew Grad

Compute the Nth Recency Value

Given an integer n >= 1, define a sequence a as follows: - a[0] = 0 - For each i >= 1: - If a[i - 1] has appeared earlier in the sequence, meaning t...

Coding & Algorithms
1
1
15 people solved
Oct 9, 2025
Microsoft logo
Microsoft
Medium
Software Engineer

Populate next pointers in a perfect binary tree

You are given a perfect binary tree (all leaves at the same level; every internal node has two children). Each node has fields left, right, and next. ...

Coding & Algorithms
7
0
78 people solved
Feb 7, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Solve maze reachability and two follow-ups

This set of tasks evaluates graph and state-space search with constrained movement (maze rolling ball), tree algorithms and recursion for computing di...

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

Detect and remove matched words in a char stream

This question evaluates understanding of online stream processing, substring matching, and the use of efficient data structures and algorithms for rea...

Coding & Algorithms
36
0
239 people solved
Feb 7, 2026
Waymo logo
Waymo
Medium
Software EngineerSenior+ Locked

Can You Reach the Last Index?

This question evaluates a candidate's understanding of array traversal and reachability in sequences of jumps, along with the ability to reason about ...

Coding & Algorithms
14
0
109 people solved
Feb 6, 2026
Perplexity logo
Perplexity
Medium
Software Engineer

Implement time-versioned KV store with restore

Design and implement an in-memory key–value store where every operation is associated with a timestamp (monotonically increasing integer). The store m...

Coding & Algorithms
6
0
58 people solved
Feb 6, 2026
Accenture logo
Accenture
Medium
Software Engineer

Find minimum racks for 2D bin packing

You are given N machines. Machine i requires two types of resources: (x_i, y_i). Each rack has capacity (A, B) for the two resources, and a machine mu...

Coding & Algorithms
11
0
96 people solved
Oct 7, 2025
Ramp logo
Ramp
Hard
Software Engineer

Find final URL by crawling until “congrats”

You are given a starting HTTP URL. Implement a function that repeatedly calls URLs returned by previous responses until you reach a response that indi...

Coding & Algorithms
52
0
379 people solved
Feb 4, 2026
Netflix logo
Netflix
Medium
Software Engineer Locked

Compute minimum semesters to finish courses

This question evaluates graph theory and scheduling competencies, including dependency resolution, cycle detection in directed graphs, and capacity-co...

Coding & Algorithms
15
0
225 people solved
Feb 4, 2026
Bitkernel logo
Bitkernel
Hard
Software Engineer

Implement popup and redirect in JavaScript

You are working in a browser environment and must use vanilla JavaScript only (no external libraries). Task Implement a function showPopupAndRedirect(...

Coding & Algorithms
2
0
42 people solved
Oct 3, 2025
DoorDash logo
DoorDash
Medium
Software EngineerSenior+

Find Each Cell's Nearest Source

Given an m x n grid containing 1 for source cells and 0 for regular cells, compute for every cell the shortest 4-directional distance to any source ce...

Coding & Algorithms
11
0
81 people solved
Feb 3, 2026
Arista logo
Arista
Easy
Software Engineer

Solve palindrome and missing-number variants

You are asked to solve two coding problems and analyze the time and space complexity of each. 1. Palindrome check Given a string s, determine whe...

Coding & Algorithms
5
0
51 people solved
Feb 3, 2026
Databricks logo
Databricks
Medium
Software Engineer Locked

Compute 5-minute rolling average load

This question evaluates understanding of sliding-window aggregation and efficient data-structure design for time-series event streams, focusing on com...

Coding & Algorithms
8
0
160 people solved
Feb 3, 2026
Meta logo
Meta
Medium
Software Engineer

Compute interval mode, BST range sum, exclusive time

You are given several independent coding tasks. A) Most frequent integer covered by intervals You are given an integer range [-M, M] and a list of inc...

Coding & Algorithms
2
0
40 people solved
Oct 2, 2025
Chicago logo
Chicago
Easy
Software Engineer

Merge Nested Dictionaries Iteratively

Given a list of Python dictionaries, merge them into a single dictionary without using recursion. Rules: - Process the dictionaries from left to right...

Coding & Algorithms
3
0
49 people solved
Feb 2, 2026
Stripe logo
Stripe
Medium
Software Engineer Locked

Implement a Datacenter Request Router

This question evaluates command parsing, stateful data structure management, input validation, geospatial computation using the Haversine formula, det...

Coding & Algorithms
4
0
32 people solved
Feb 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