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.11.2026
Showing 20 results
Role
Amazon logo
Amazon
Medium
Software Engineer

Add One Source to Minimize Grid Inconvenience

Add One Source to Minimize Grid Inconvenience Implement min_max_inconvenience(grid). grid is a non-empty rectangular matrix containing 0 and 1. A cell...

Coding & Algorithms
2
0
30 people solved
Jul 9, 2026
Apple logo
Apple
Hard
Software Engineer Locked

Minimum Cells to Bridge a Magic Grid

This question evaluates proficiency in graph traversal and shortest-path optimization within a 2D grid, testing the ability to find minimum-cost conne...

Coding & Algorithms
1
0
15 people solved
Jun 8, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Design and Implement an LRU Cache

This question evaluates a candidate's ability to design and implement an LRU cache data structure with O(1) time complexity for both reads and writes....

Coding & Algorithms
0
0
9 people solved
Jun 8, 2026
OpenAI logo
OpenAI
Hard
Software Engineer

Implement Persistent KV Store Serialization

Implement a persistent in-memory key-value store. Requirements: - Keys and values are arbitrary byte strings or UTF-8 strings; do not rely on delimite...

Coding & Algorithms
8
0
42 people solved
Apr 20, 2026
Harvey logo
Harvey
Medium
Software Engineer Locked

Implement a Cursor-Based Text Editor

This question evaluates understanding of data structures and algorithmic efficiency for mutable sequences and cursor manipulation, including analysis ...

Coding & Algorithms
2
0
37 people solved
Apr 20, 2026
Uber logo
Uber
Hard
Software Engineer Locked

Solve Wonderful Strings and Grid Queries

This question evaluates algorithm design and data-structure competencies through two problems: a parity-constrained minimum-cost string transformation...

Coding & Algorithms
3
0
26 people solved
May 13, 2026
Google logo
Google
Medium
Software Engineer

Find Players with Uniquely Determined Rankings

Find Players with Uniquely Determined Rankings Problem There are n players numbered 0 through n - 1. Each result (winner, loser) states that the winne...

Coding & Algorithms
1
0
10 people solved
Apr 19, 2026
Rippling logo
Rippling
Medium
Software Engineer AI

Implement logger and card ranking

This coding round contains two independent implementation tasks. Task A: Implement a configurable logger Implement a Logger component that accepts tex...

Coding & Algorithms
18
2
133 people solved
Apr 19, 2026
Sigmacomputing logo
Sigmacomputing
Medium
Software Engineer

Evaluate a Boolean Formula AST

Evaluate a Boolean Formula AST Evaluate a formula represented as a JSON-compatible abstract syntax tree. A formula can contain Boolean literals, integ...

Coding & Algorithms
2
0
14 people solved
May 12, 2026
Anthropic logo
Anthropic
Hard
Software Engineer Locked

Implement a hierarchical file store

This question evaluates proficiency in modeling hierarchical file systems, path parsing and manipulation, managing mutable file contents, and analyzin...

Coding & Algorithms
4
0
20 people solved
May 12, 2026
Citadel logo
Citadel
Medium
Software Engineer

Make Every Password Block a Palindrome

Implement minimum_palindromic_block_changes(password, k). The password length is a multiple of k. Partition it into consecutive blocks of exactly k ch...

Coding & Algorithms
0
0
5 people solved
Mar 27, 2026
Citadel logo
Citadel
Medium
Software Engineer

Maximize Earnings by Converting Days Off

Implement maximum_schedule_earnings(schedule, k, daily_pay, consecutive_bonus). schedule[i] is 1 for an existing workday and 0 for a day off. Every wo...

Coding & Algorithms
0
0
5 people solved
Mar 27, 2026
Microsoft logo
Microsoft
Easy
Software Engineer

Solve binary-tree reverse printing and LPS

You are given a binary tree node definition: - TreeNode { int val; TreeNode left; TreeNode right; } Answer the following two algorithmic questions. 1)...

Coding & Algorithms
11
0
127 people solved
Dec 24, 2025
Uber logo
Uber
Hard
Software Engineer Locked

Build Quadtree and Find Grid Words

This question evaluates divide-and-conquer tree construction and recursive spatial data structures for the quadtree task, and grid-based search and ba...

Coding & Algorithms
7
0
87 people solved
Jan 26, 2026
Google logo
Google
Hard
Software EngineerSenior+

Convert Valid Snake Case to Lower Camel Case

Convert Valid Snake Case to Lower Camel Case Given a valid snake-case identifier, convert it to lower camel case. The input consists of one or more lo...

Coding & Algorithms
3
2
18 people solved
Apr 16, 2026
Mistral AI logo
Mistral AI
Hard
Software Engineer

Compute Remaining GPUs With Switching Limits

Suppose you manage n GPU clusters with fixed daily capacities capacity[i]. Each day starts fresh with the full capacity, because all GPUs are returned...

Coding & Algorithms
6
0
41 people solved
Apr 16, 2026
Snowflake logo
Snowflake
Medium
Software Engineer

Compute task order and layered execution

You have N tasks labeled 0..N-1 and prerequisite pairs (a, b) meaning task a must complete before task b can start. Return any valid execution order o...

Coding & Algorithms
8
0
128 people solved
Sep 6, 2025
Zoox logo
Zoox
Medium
Software Engineer Locked

Lane-Change Safety and Longitudinal Motion Simulation

This question tests practical application of kinematics, feedback control, and object-oriented design in a real-time simulation context. It evaluates ...

Coding & Algorithms
0
0
13 people solved
Jun 5, 2026
Rippling logo
Rippling
Hard
Software Engineer Locked

Solve listed algorithm problems

This set of problems evaluates algorithmic problem-solving skills across selection and order-statistics, graph algorithms and traversals, connected-co...

Coding & Algorithms
14
0
96 people solved
Feb 12, 2026
Databricks logo
Databricks
Medium
Software Engineer

Find k customers with least revenue

Problem You are given a list of purchase events. Each event contains: - customer_id (string or int) - amount (integer, may be 0; assume non-negative u...

Coding & Algorithms
28
0
391 people solved
Feb 12, 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