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

Minimize total factory cost with distance penalties

This question evaluates dynamic programming and sequence optimization skills, focusing on modeling cumulative build costs with adjacency distance pena...

Coding & Algorithms
5
0
39 people solved
Jan 6, 2026
TikTok logo
TikTok
Medium
Software Engineer Locked

Verify business accounts with progressive KYC rules

This question evaluates skills in string parsing, text normalization, rule-based validation, and token-based string matching within a KYC verification...

Coding & Algorithms
9
0
70 people solved
Jan 6, 2026
Fortinet logo
Fortinet
Medium
Software Engineer Locked

Solve linked list reversal and minima problems

This set of problems evaluates proficiency in fundamental data structures and algorithms, specifically linked list manipulation (reversal and linear-t...

Coding & Algorithms
4
0
43 people solved
Jan 6, 2026
Applied logo
Applied
Hard
Software Engineer

Implement Nested Transactional Key-Value Store

Implement an in-memory key-value store that processes a batch of commands, one command per line. The store must support nested transactions. Supported...

Coding & Algorithms
2
0
25 people solved
Apr 4, 2026
Pinterest logo
Pinterest
Medium
Software EngineerSenior+

Settle Group Expenses with Transfers

You are given a list of group expense transactions from a trip. Each transaction contains: - payer: the person who paid the full amount. - amount: the...

Coding & Algorithms
2
0
17 people solved
Jan 5, 2026
Bloomberg logo
Bloomberg
Medium
Software Engineer Locked

Check equal character frequencies

This question evaluates a candidate's understanding of character frequency analysis and algorithmic reasoning in string manipulation, measuring the ab...

Coding & Algorithms
1
0
38 people solved
Jan 5, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Find shortest path in an OOP maze

This question evaluates graph traversal and shortest-path reasoning within an object-oriented codebase, focusing on state representation, neighbor exp...

Coding & Algorithms
2
0
39 people solved
Jan 5, 2026
Netflix logo
Netflix
Medium
Software EngineerSenior+

Implement Caches, Undo, and Traversal

Solve the following coding tasks. For each task, define clean APIs, implement the core logic, and be prepared to explain time and space complexity. Ta...

Coding & Algorithms
5
0
50 people solved
Apr 3, 2026
Temporal logo
Temporal
Medium
Software Engineer Locked

Implement Concurrent Any-True Shot

This question evaluates proficiency in concurrent programming, focusing on coordination, synchronization, early termination, and best-effort cancellat...

Coding & Algorithms
3
0
53 people solved
Apr 3, 2026
Google logo
Google
Hard
Software Engineer Locked

Minimize maximum height along a grid path

This question evaluates algorithmic pathfinding and graph-modeling skills, specifically reasoning about grid-based route selection where the objective...

Coding & Algorithms
11
0
71 people solved
Jan 4, 2026
Microsoft logo
Microsoft
Medium
Software Engineer

Implement a generic tree Node class

Design and implement a Node class for a mutable rooted tree. Requirements: store value, parent, and ordered children; support add_child, remove, move_...

Coding & Algorithms
10
0
74 people solved
Aug 14, 2025
Anthropic logo
Anthropic
Medium
Software Engineer

Design file deduplication across nested directories

Design and implement a file deduplication tool that, given a root directory, identifies groups of duplicate files. Requirements: traverse nested direc...

Coding & Algorithms
21
0
206 people solved
Aug 14, 2025
Asana logo
Asana
Medium
Software Engineer

Compute Products Excluding Each Index

You are given an integer array nums of length n. Return an array answer such that answer[i] equals the product of every element of nums except nums[i]...

Coding & Algorithms
1
0
12 people solved
Apr 2, 2026
Datadog logo
Datadog
Medium
Software Engineer AI

Implement a Snowflake Query Client

Build a lightweight query client for a Snowflake-like data warehouse. Implement a QueryClient that can: 1. Connect to the warehouse using configuratio...

Coding & Algorithms
6
0
56 people solved
Apr 2, 2026
PayPal logo
PayPal
Medium
Software Engineer

Find k most frequent in linear time

Given an integer array nums and an integer k (1 ≤ k ≤ number of distinct values in nums), return any k values that appear most frequently. Implement a...

Coding & Algorithms
8
0
101 people solved
Aug 13, 2025
Anthropic logo
Anthropic
Medium
Software Engineer Locked

Implement a longest-match tokenizer

This question evaluates string-processing and algorithmic implementation skills for greedy longest-match tokenization, including handling runs of unma...

Coding & Algorithms
4
1
73 people solved
Oct 19, 2025
Databricks logo
Databricks
Medium
Software EngineerSenior+

Find optimal commute mode in a city graph

You are designing a route planner that suggests the best way to commute between two points in a city using different transportation modes. The city is...

Coding & Algorithms
30
0
284 people solved
Oct 19, 2025
Decagon logo
Decagon
Easy
Software Engineer

Implement a CSAT Sliding Window Tracker

Design and implement a class that tracks customer satisfaction scores over a sliding time window. A customer support conversation has: - conversation_...

Coding & Algorithms
3
0
38 people solved
Apr 1, 2026
Whatnot logo
Whatnot
Easy
Software Engineer Locked

Count User Journey Prefixes

This question evaluates the ability to reconstruct per-user action sequences from timestamped logs, aggregate and count path prefixes, and apply data-...

Coding & Algorithms
10
0
89 people solved
Apr 1, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Implement fast power and k-palindrome

This question evaluates numerical algorithm design and string algorithm skills, focusing on efficient exponentiation with negative exponents and deter...

Coding & Algorithms
5
0
44 people solved
Apr 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