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.16.2026
Showing 20 results
Role
Anthropic logo
Anthropic
Medium
Software Engineer Locked

Implement a Batch Image Processor

This question evaluates a candidate's competency in image processing operations and parallel/concurrent programming, covering basic transformations (g...

Coding & Algorithms
11
0
83 people solved
Apr 1, 2026
xAI logo
xAI
Medium
Software Engineer

Define and compare smart pointers

What is a smart pointer? How do smart pointers manage ownership and lifetimes compared with raw pointers? Describe common types (unique, shared, weak)...

Coding & Algorithms
5
0
109 people solved
Aug 12, 2025
Vercel logo
Vercel
Medium
Software Engineer

Design hit counter for last 5 minutes

You are launching a new webpage and need a last-minute server-side metric to track popularity in real time. Implement a hit counter that supports the ...

Coding & Algorithms
10
0
69 people solved
Jan 1, 2026
Microsoft logo
Microsoft
Medium
Software Engineer Locked

Stream output until stop token appears

This question evaluates streaming string processing and pattern-matching skills, specifically handling token detection across chunk boundaries, bounda...

Coding & Algorithms
14
0
149 people solved
Feb 12, 2026
TikTok logo
TikTok
Easy
Software Engineer Locked

Find the longest palindromic substring

This question evaluates proficiency in string manipulation and algorithmic problem-solving, focusing on palindrome detection and substring handling wi...

Coding & Algorithms
6
0
58 people solved
Feb 12, 2026
Microsoft logo
Microsoft
Easy
Software Engineer

Implement interval room counter and token manager

You are given two coding questions. 1) Minimum number of rooms for time intervals You are given a list of meetings, where each meeting is an interval ...

Coding & Algorithms
185
3
2214 people solved
Feb 12, 2026
Confluent logo
Confluent
Easy
Software Engineer Locked

Process pod logs with global increments and pop-min

This question evaluates understanding of data structures—particularly priority queues/heaps—and techniques for efficiently handling global/bulk update...

Coding & Algorithms
15
0
172 people solved
Feb 12, 2026
Databricks logo
Databricks
Hard
Software Engineer Locked

Determine allow/deny for an IP via CIDR rules

This question evaluates understanding of IPv4 addressing, CIDR range matching, rule ordering and precedence, and algorithmic correctness in determinin...

Coding & Algorithms
18
0
181 people solved
Feb 12, 2026
Stripe logo
Stripe
Medium
Software EngineerIntern

Simulate sticky load balancer with shutdown

Problem Implement a simulator for a load balancer that routes long-lived WebSocket connections across m backend servers. You receive a sequence of tex...

Coding & Algorithms
14
0
139 people solved
Feb 12, 2026
Waymo logo
Waymo
Medium
Software Engineer Locked

Validate a Parent-Child Forest

This question evaluates understanding of graph theory concepts—specifically rooted trees, parent-child relationships, cycle detection, and node in-deg...

Coding & Algorithms
1
0
11 people solved
May 27, 2026
Microsoft logo
Microsoft
Hard
Software Engineer Locked

Find minimum cycle cost per node

This question evaluates proficiency in graph algorithms and algorithmic optimization, specifically reasoning about weighted directed graphs, cycle cos...

Coding & Algorithms
6
0
69 people solved
Feb 11, 2026
TikTok logo
TikTok
Medium
Software Engineer Locked

Solve common interview coding problems

This set evaluates algorithmic problem-solving, data structure selection, and time/space complexity analysis across common patterns such as maximum su...

Coding & Algorithms
10
0
84 people solved
Feb 11, 2026
Google logo
Google
Hard
Software Engineer

Find secret word with match-count feedback

Problem You are given a list of unique lowercase words, all of the same length (e.g., length = 6). One of these words is a secret word. You can intera...

Coding & Algorithms
15
0
149 people solved
Feb 11, 2026
DoorDash logo
DoorDash
Hard
Software Engineer Locked

Count changed nodes between two menu trees

This question evaluates algorithmic problem-solving with tree data structures, testing competencies in hierarchical diffing, node matching by sibling ...

Coding & Algorithms
37
0
310 people solved
Feb 11, 2026
Meta logo
Meta
Medium
Software Engineer

Implement a versioned in-memory DB with CAS and history

In-Memory DB V2: TTL + Compare-And-Set/Delete + Historical Reads Implement an in-memory database keyed by (key, field) supporting TTL, conditional upd...

Coding & Algorithms
7
0
73 people solved
Feb 11, 2026
OpenAI logo
OpenAI
Hard
Software Engineer Locked

Implement type AST and infer generics

This question evaluates a candidate's ability to design an abstract syntax tree representation and implement generic type inference for a small langua...

Coding & Algorithms
26
2
366 people solved
Feb 11, 2026
Aurora logo
Aurora
Medium
Software Engineer

Compute streaming sliding-window minimums

Problem You are given an integer array nums of length n and an integer window size k. You scan nums from left to right (streaming). At each index i, y...

Coding & Algorithms
13
0
90 people solved
Feb 11, 2026
Apple logo
Apple
Medium
Software Engineer

Compute top three scores per student

Compute top three scores per student You are given a list of (student_id, score) records. Return, for each student, their highest three scores in desc...

Coding & Algorithms
7
0
81 people solved
Aug 9, 2025
LinkedIn logo
LinkedIn
Medium
Software Engineer

Design a max-stack with efficient operations

Design a max-stack with efficient operations Design a stack that supports push (x), pop(), top(), peekMax(), and popMax(). The popMax operation must r...

Coding & Algorithms
8
0
72 people solved
Aug 8, 2025
Okta logo
Okta
Medium
Software EngineerSenior+ Locked

Validate IPv4 Address List

This question evaluates proficiency in string parsing, input validation, numeric boundary checks, and algorithmic complexity by requiring verification...

Coding & Algorithms
3
0
43 people solved
Mar 30, 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