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

Compute shared free time intervals

You are given schedules for multiple employees. schedules[i] is a list of busy intervals for employee i, where each interval is half-open [start, end)...

Coding & Algorithms
5
0
56 people solved
Sep 6, 2025
OpenAI logo
OpenAI
Medium
Software Engineer

Implement a Simulated Memory Allocator

Implement a simulated memory allocator that supports allocate(size) and free(ptr) operations analogous to malloc and free. Treat memory as a contiguou...

Coding & Algorithms
50
1
864 people solved
Sep 6, 2025
Uber logo
Uber
Medium
Software Engineer

Simulate views on an n-ary tree

Given a rooted, ordered n-ary tree (each node has a value and an ordered list of children), simulate an observer who starts at the bottom-left, moves ...

Coding & Algorithms
5
0
77 people solved
Sep 6, 2025
OpenAI logo
OpenAI
Medium
Software Engineer

Implement GPU credit ledger

You manage a GPU pool with per-tenant credits. Given a list/stream of events where each event adjusts a tenant’s credit balance by a signed integer (p...

Coding & Algorithms
36
0
331 people solved
Sep 6, 2025
Airbnb logo
Airbnb
Medium
Software Engineer

Find minimal property set in neighborhood

You are given a list of properties, each Property(id: int, neighborhood: string, capacity: int). Given a targetNeighborhood (string) and groupSize (in...

Coding & Algorithms
31
0
286 people solved
Sep 6, 2025
Meta logo
Meta
Medium
Software Engineer

Find mode or minimum with time-space tradeoffs

For an unsorted array of integers, implement two functions: ( 1) return the minimum value; ( 2) return the value that appears most frequently (the mod...

Coding & Algorithms
5
0
38 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Determine string buildability from dictionary

Given a non-empty string s and a list of non-empty words dict, determine whether s can be formed by concatenating words from dict with unlimited reuse...

Coding & Algorithms
3
0
42 people solved
Sep 6, 2025
Airbnb logo
Airbnb
Medium
Software Engineer

Find max-score path in weighted DAG

You are given a directed acyclic graph (DAG). Each node v has a score w(v). Each directed edge (u→v) has a nonnegative time cost t(u,v). There is a un...

Coding & Algorithms
30
1
279 people solved
Sep 6, 2025
Snowflake logo
Snowflake
Medium
Software Engineer

Schedule dependent services with layered startup

You are given N services and dependency pairs (u -> v) meaning u must start before v. 1) Produce a valid startup order if one exists; otherwise detect...

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

Design a queue and analyze tradeoffs

Design a FIFO queue data structure that supports enqueue, dequeue, peek, and isEmpty. Compare implementations using a singly linked list, a dynamic ar...

Coding & Algorithms
39
0
327 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Implement a robust shell CLI

Implement a POSIX-compliant shell script invoked as ./script.sh <username> <path_of_file> that outputs a single line formatted as "<timestamp> <licens...

Coding & Algorithms
4
0
45 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Check path in N-ary tree

Given the root of an N-ary tree and a sequence of integers path[0..k-1], determine whether there exists a path starting at the root whose node values ...

Coding & Algorithms
2
0
51 people solved
Sep 6, 2025
Bridge logo
Bridge
Medium
Software Engineer

Solve path normalization and nested iterator

1) Normalize Unix-style absolute paths: Given a string representing an absolute Unix file path, return its canonical form. Rules: '.' refers to the cu...

Coding & Algorithms
10
0
74 people solved
Sep 6, 2025
Applied Intuition logo
Applied Intuition
Medium
Software Engineer

Design a nested transaction store

Implement an in-memory key–value store that supports nested transactions with the operations: SET key value, RETURN key, BEGIN, APPLY (commit current ...

Coding & Algorithms
31
0
220 people solved
Sep 6, 2025
Meta logo
Meta
Medium
Software Engineer AI Locked

Solve array, tree, and maze problems

This question evaluates algorithmic problem-solving across arrays, binary trees, and grid pathfinding, testing competencies in array traversal and vis...

Coding & Algorithms
5
0
54 people solved
Mar 12, 2026
Rippling logo
Rippling
Medium
Software Engineer Locked

Implement Food Delivery Billing

This question evaluates proficiency in implementing business billing rules, time and distance-based fee calculations, timestamp arithmetic, numerical ...

Coding & Algorithms
16
0
184 people solved
Mar 12, 2026
Roblox logo
Roblox
Medium
Software Engineer Locked

Implement Sliding-Window Rate Limiter

This question evaluates understanding of time-based sliding-window rate limiting, per-user quota enforcement, efficient in-memory data structures for ...

Coding & Algorithms
4
0
29 people solved
Mar 11, 2026
Bloomberg logo
Bloomberg
Easy
Software Engineer

Minimize travel cost with two cities

You are scheduling candidates to attend an onsite interview. Each candidate i can fly to New York for cost c1[i] or to San Francisco for cost c2[i]. C...

Coding & Algorithms
16
2
123 people solved
Mar 11, 2026
Rippling logo
Rippling
Medium
Software EngineerSenior+ AI

Implement a balance tracker and interval merger

This screening contained two coding exercises. Part 1: Driver balance tracker You are building an in-memory ledger for a delivery platform. Each updat...

Coding & Algorithms
9
0
92 people solved
Mar 10, 2026
Ramp logo
Ramp
Medium
Software Engineer

Maximum Profit from Dated Stock Trade Records

Maximum Profit from Dated Stock Trade Records You are given a log of stock trades. Each trade is a record [date, symbol, price]: - date — a calendar d...

Coding & Algorithms
0
0
10 people solved
Mar 9, 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