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
Coreweave logo
Coreweave
Medium
Software EngineerSenior+

Implement web data fetch and storage tool

Problem You are asked to implement a small program that retrieves data from a remote web service protected by token-based authentication, parses the r...

Coding & Algorithms
18
0
272 people solved
Oct 11, 2025
Stripe logo
Stripe
Medium
Software Engineer Locked

Implement Billing Coding Exercises

This question evaluates skills in billing and payment reconciliation, datetime normalization and comparison, subscription-based scheduling, API integr...

Coding & Algorithms
4
0
42 people solved
Oct 7, 2025
TikTok logo
TikTok
Easy
Software Engineer

Find start indices of anagram substrings

You are given two strings: - s: the text string - p: the pattern string Return a list of all starting indices i such that the substring s[i : i + len(...

Coding & Algorithms
3
0
45 people solved
Oct 7, 2025
Bloomberg logo
Bloomberg
Medium
Software Engineer

Implement anagram check and odd-even linked list

You are given two independent coding tasks. Task 1: Check if two strings are anagrams Implement a function that determines whether two given strings a...

Coding & Algorithms
9
0
77 people solved
Oct 6, 2025
Lyft logo
Lyft
Medium
Software EngineerIntern

Implement Cache and Key-Value Store

The interview report mentions coding tasks similar to the following: 1. Bounded cache Implement a cache with a fixed capacity. Support: - get(ke...

Coding & Algorithms
2
1
48 people solved
Oct 5, 2025
Crowdstrike logo
Crowdstrike
Medium
Software Engineer

Implement templated string replacement

You are given: 1. A dictionary (map) of placeholder keys to values, for example: `python values = { "db_host": "example.com", "db_port": 5001 } ` ...

Coding & Algorithms
6
0
84 people solved
Oct 5, 2025
Dropbox logo
Dropbox
Medium
Software Engineer Locked

Implement KV Store and Token Bucket

This question evaluates a candidate's skills in implementing core data structures and concurrent algorithms, specifically in-memory key-value store de...

Coding & Algorithms
7
0
75 people solved
Oct 3, 2025
WeRide logo
WeRide
Medium
Software Engineer

Implement matrix multiplication and fast exponentiation

1) - A n × m - B m × p C = A × Bn × p - - - MOD MOD 2) Exponentiation by Squaring x k MOD - x^k - x^k mod MOD - O(log k) - k = 0x = 0 3) ...

Coding & Algorithms
9
0
68 people solved
Oct 2, 2025
Amazon logo
Amazon
Hard
Software Engineer

Maximize total bandwidth of data channel pairs

You are optimizing how information flows through a network of processing nodes. There are n processing nodes. The bandwidth capability of the i-th nod...

Coding & Algorithms
3
0
37 people solved
Oct 1, 2025
Amazon logo
Amazon
Hard
Software Engineer

Maximize memory capacity with primary-backup servers

You are helping to optimize the capacity of a cloud system. There are n servers, where n is always even. The memory capacity of the i-th server is giv...

Coding & Algorithms
3
0
59 people solved
Oct 1, 2025
Snapchat logo
Snapchat
Medium
Software Engineer Locked

Implement a recent-use eviction cache

This question evaluates a candidate's ability to design and implement a fixed-capacity key-value cache with a recent-use eviction policy, emphasizing ...

Coding & Algorithms
1
0
28 people solved
Sep 29, 2025
Roblox logo
Roblox
Medium
Software Engineer Locked

Implement a Log Rate Limiter

This question evaluates a candidate's ability to design and implement time-based rate limiting and stateful event tracking using appropriate data stru...

Coding & Algorithms
8
0
80 people solved
Sep 25, 2025
Pinterest logo
Pinterest
Medium
Software Engineer

Implement stream line reader and settle balances

Part 1: Streaming line reader from chunked source You are given an existing class ChunkSource with a method nextChunk() that returns the next piece of...

Coding & Algorithms
24
0
203 people solved
Sep 10, 2025
TripStack logo
TripStack
Medium
Software Engineer

Compute minimum resources for overlapping intervals

You are given n tasks as half-open time intervals [start, end) on a single day. Determine the minimum number of identical servers needed so that no tw...

Coding & Algorithms
1
0
7 people solved
Sep 6, 2025
Snowflake logo
Snowflake
Medium
Software Engineer

Find first error and propagate failures

You are given a chronological log history where each entry is a string prefixed with one of [Info], [Warn], or [Error]. Two invariants hold: ( 1) once...

Coding & Algorithms
1
0
14 people solved
Sep 6, 2025
eBay logo
eBay
Medium
Software Engineer

Pass functions and analyze basic data structures

Implement a function applyTwice(f, x) that accepts a function f and a value x and returns f(f(x)) in your preferred language. Demonstrate how to pass ...

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

Find substring where all chars appear at least k

You are given a string s and an integer k (1 ≤ k ≤ |s|). Return the length of the longest substring in which every distinct character occurs at least ...

Coding & Algorithms
3
0
44 people solved
Sep 6, 2025
Anthropic logo
Anthropic
Medium
Software Engineer

Compute exclusive times and call stack from logs

Design an algorithm that, given a single-threaded program's execution log, computes per-function exclusive durations and reconstructs the active call ...

Coding & Algorithms
14
0
175 people solved
Sep 6, 2025
Snowflake logo
Snowflake
Medium
Software Engineer

Solve build ordering and expression evaluation

Part A — Dependency ordering: You are given an integer n (0 ≤ n ≤ 200000) representing tasks labeled 0..n-1 and a list of prerequisite pairs [a, b] me...

Coding & Algorithms
6
0
71 people solved
Sep 6, 2025
Anthropic logo
Anthropic
Medium
Software Engineer

Design file deduplication algorithm

Design an algorithm to deduplicate files in a storage system. Compare fixed-size versus content-defined chunking and explain how you would choose hash...

Coding & Algorithms
12
0
201 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