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

Extract stream prefix before stop token

This question evaluates streaming string processing, incremental substring detection across chunk boundaries, and memory-efficient algorithm design fo...

Coding & Algorithms
4
0
63 people solved
Feb 1, 2026
IBM logo
IBM
Medium
Software Engineer

Maximize palindromic strings after character swaps

You are given an integer n and an array of n lowercase strings arr. Operation (can be performed any number of times): choose two different strings arr...

Coding & Algorithms
6
0
71 people solved
Jan 31, 2026
Uber logo
Uber
Medium
Software Engineer

Solve Prime Jumps and Pipeline Scaling

An online assessment contains two independent coding problems. Solve both. Problem 1: Prime-Constrained Score Jump You are given an integer array scor...

Coding & Algorithms
4
0
44 people solved
Jan 30, 2026
NVIDIA logo
NVIDIA
Medium
Software Engineer Locked

Implement string compression and decompression

This question evaluates proficiency in string manipulation, run-length encoding concepts, parsing numeric counts, and validation of encoded formats, i...

Coding & Algorithms
1
0
14 people solved
Jan 30, 2026
Goldman Sachs logo
Goldman Sachs
Easy
Software Engineer

Implement a String Deque

Implement a double-ended queue (Deque) that stores strings. Your implementation must support the following operations: - addFirst(data): Insert data a...

Coding & Algorithms
0
0
7 people solved
Jan 29, 2026
Instacart logo
Instacart
Hard
Software EngineerSenior+ Locked

Implement store, evaluator, and parser

This question evaluates implementation skills in data structures and algorithms, covering time-based versioning and TTL in an in-memory key-value stor...

Coding & Algorithms
11
0
99 people solved
Jan 29, 2026
Meta logo
Meta
Easy
Software Engineer Locked

Compute Sliding Window Averages

This question evaluates proficiency in array manipulation, sliding-window techniques, and algorithmic efficiency including time and space complexity. ...

Coding & Algorithms
1
0
21 people solved
Jan 29, 2026
Uber logo
Uber
Medium
Software Engineer

Return a Package Build Order

You are given an API: `python get_dependencies(package) -> list[str] ` It returns the direct dependencies of a given package. If package A depends on ...

Coding & Algorithms
4
0
59 people solved
Jan 28, 2026
Confluent logo
Confluent
Medium
Software Engineer Locked

Implement File Tail and Sensor Health

This question evaluates skills in large-file streaming and buffer/pointer manipulation for tailing files, along with data-structure and time-window re...

Coding & Algorithms
9
0
79 people solved
Jan 28, 2026
Pinterest logo
Pinterest
Medium
Software Engineer Locked

Solve Two Grid Search Problems

This question evaluates proficiency in graph traversal on grids, specifically competencies in identifying connected components and modeling propagatio...

Coding & Algorithms
11
0
77 people solved
Jan 28, 2026
DoorDash logo
DoorDash
Easy
Software Engineer

Implement a consistent hashing ring

Implement a class ConsistentHashRing that distributes keys across servers using a hash ring with virtual nodes. Required API: - ConsistentHashRing(rep...

Coding & Algorithms
17
0
172 people solved
Jan 28, 2026
StackAdapt logo
StackAdapt
Easy
Software Engineer

Design a time-windowed key-value store

Implement a time-windowed key-value store ("Windowed Map") that receives key/value updates at irregular times and only keeps entries from the most rec...

Coding & Algorithms
8
0
106 people solved
Mar 4, 2025
eBay logo
eBay
Medium
Software Engineer

Count Connected Land Regions

You are given an m x n 2D grid representing a map. Each cell is either land ('1') or water ('0'). A land region is formed by connecting adjacent land ...

Coding & Algorithms
2
0
13 people solved
Jan 27, 2026
Google logo
Google
Easy
Software Engineer AI Locked

Find Feature Activation Order

This question evaluates graph-algorithms and dependency-resolution skills, including reasoning about prerequisite relationships, ordering constraints,...

Coding & Algorithms
9
0
62 people solved
Jan 26, 2026
Capital One logo
Capital One
Medium
Software Engineer

Apply commands to transform a matrix

You are given an integer matrix A of size n × m and a list of string commands to apply in order. Implement the commands and return the final matrix. C...

Coding & Algorithms
13
0
90 people solved
Sep 19, 2025
F5Networks logo
F5Networks
Medium
Software EngineerIntern

Find Top Hashtags

You are given two arrays of length n: - tweets[i]: the content of the i-th tweet as a string - timestamps[i]: the publish time of the i-th tweet as an...

Coding & Algorithms
1
0
18 people solved
Jan 25, 2026
Dropbox logo
Dropbox
Medium
Software Engineer

Compute worst-case guesses for adaptive hangman

You are given a set of distinct lowercase words, all of the same length. A hidden word is chosen from this set, but the host is adversarial: after eac...

Coding & Algorithms
6
0
71 people solved
Jan 25, 2026
Tesla logo
Tesla
Medium
Software Engineer

Implement a Timed Task Scheduler

Implement a runnable task scheduler. The scheduler should allow clients to add new tasks at any time. Each task has: - A callback or function to execu...

Coding & Algorithms
0
0
7 people solved
Jan 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