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
Scale AI logo
Scale AI
Medium
Software EngineerNew Grad

Schedule Ready Tasks by Deadline

You are building a workflow scheduler. Each task has: - a unique task_id - an integer deadline - an optional list of prerequisite tasks that must be c...

Coding & Algorithms
63
0
485 people solved
Apr 1, 2026
Ramp logo
Ramp
Medium
Software Engineer

Maximum Profit from Multi-Stock Trading Records

Maximum Profit from Multi-Stock Trading Records You are given a list of stock price records collected from a trading feed. Each record is a triple: - ...

Coding & Algorithms
0
0
10 people solved
Jan 1, 2026
Perplexity AI logo
Perplexity AI
Medium
Software Engineer

Design a CreditTracker with expirations

Design a CreditTracker class with three methods: ( 1) add_credit(start_time, end_time, credit), ( 2) subtract_credit(time, credit), and ( 3) check_cre...

Coding & Algorithms
14
0
128 people solved
Aug 10, 2025
NVIDIA logo
NVIDIA
Medium
Software Engineer

Design an IR for test workflows

Design an IR for test workflows Design an intermediate representation (IR) for a graphics testing workflow as a DAG. Define node/edge types, metadata,...

Coding & Algorithms
5
0
63 people solved
Aug 9, 2025
PayPal logo
PayPal
Medium
Software Engineer

Compare final, finally, finalize

Compare final, finally, finalize Compare Java's final keyword, the finally block, and the finalize() method. For each, explain purpose, typical use ca...

Coding & Algorithms
5
0
63 people solved
Aug 7, 2025
PayPal logo
PayPal
Medium
Software Engineer

Assess HashMap vs ConcurrentHashMap

Assess HashMap vs ConcurrentHashMap Is Java's HashMap thread-safe? Explain why or why not. How does ConcurrentHashMap achieve thread safety and perfor...

Coding & Algorithms
5
0
56 people solved
Aug 7, 2025
Meta logo
Meta
Easy
Software Engineer

Solve palindrome-check and vertical-order traversal

You are asked to solve two separate coding questions. You do not need to run code; be prepared to explain your approach and walk through examples. Que...

Coding & Algorithms
2
0
40 people solved
Oct 13, 2025
OpenAI logo
OpenAI
Medium
Software Engineer

Manage GPU Credits with Expiration

Question Implement a GPU credit manager supporting out-of-order operations: API add_credit(id, amount, timestamp, expiration) // adds ‘amount’ credit...

Coding & Algorithms
38
0
401 people solved
Aug 4, 2025
Capital One logo
Capital One
Medium
Software Engineer

Implement deposit, withdraw, and transfer in a class

Problem Implement a class AccountService that supports basic money operations on accounts. Operations - deposit(accountId, amount) - withdraw(accountI...

Coding & Algorithms
11
0
105 people solved
Dec 25, 2025
Ambience Healthcare logo
Ambience Healthcare
Medium
Software Engineer

Design a least-recently-used cache

Design a least-recently-used cache Design and implement a least-recently-used (LRU) cache with a fixed capacity. Support get(key) -> value and put(key...

Coding & Algorithms
11
0
98 people solved
Jul 31, 2025
Snapchat logo
Snapchat
Medium
Software Engineer

Compute sliding window median

Question LeetCode 480. Sliding Window Median: Given an array nums and an integer k, find the median of each sliding window of size k as the window mov...

Coding & Algorithms
10
0
50 people solved
Jul 29, 2025
xAI logo
xAI
Medium
Software Engineer

Explain and Implement Strings

Question What is a string in programming languages? Inside a struct string{} in Rust, what fields are stored and how would you design and implement on...

Coding & Algorithms
3
0
23 people solved
Jul 29, 2025
Imc logo
Imc
Hard
Software Engineer

Choose container set to minimize waste

Question A pharmaceutical company is packaging liquid medicine for shipment. Each customer order has a required volume. The company can choose exactly...

Coding & Algorithms
11
0
111 people solved
Oct 6, 2025
Anduril logo
Anduril
Medium
Software EngineerSenior+ Locked

Maximize Profit From Cutting Rods

This question evaluates algorithmic optimization and discrete cost-benefit analysis, testing skills in integer parameter exploration, profit modeling,...

Coding & Algorithms
6
0
45 people solved
Mar 26, 2026
Optiver logo
Optiver
Medium
Software Engineer

Design a Balloon Festival Simulator

Implement a class BalloonFestival with the following API and rules. Goal Track hot air balloons (yours and competitors), evolving wind fields, and bal...

Coding & Algorithms
33
0
376 people solved
Jul 27, 2025
OpenAI logo
OpenAI
Medium
Software Engineer

Implement node messaging and path discovery

You have a network where each node knows only its parent and its children and can send messages to its parent and children. 1) Implement a sendMessage...

Coding & Algorithms
43
0
381 people solved
Jul 27, 2025
Coinbase logo
Coinbase
Medium
Software Engineer Locked

Implement a Flappy Bird Jump Agent

This question evaluates discrete-time physics simulation, real-time decision-making under constraints, collision detection, and deterministic control-...

Coding & Algorithms
4
0
52 people solved
Mar 25, 2026
Meta logo
Meta
Easy
Software Engineer Locked

Implement array parity and tree level views

This question evaluates proficiency in array frequency analysis and binary tree traversal, testing skills in data structures, correctness reasoning, a...

Coding & Algorithms
5
0
39 people solved
Mar 24, 2026
SoFi logo
SoFi
Medium
Software Engineer Locked

Find Kth Unique Maximum

This question evaluates algorithmic problem-solving skills related to sorted arrays, deduplication, and order-statistics across combined datasets, mea...

Coding & Algorithms
2
0
44 people solved
Oct 1, 2025
Nordstrom logo
Nordstrom
Medium
Software Engineer

Optimize algorithms and validate inputs

Optimize algorithms and validate inputs For a typical medium-difficulty coding task, walk through your approach: enumerate edge cases, justify your in...

Coding & Algorithms
7
0
75 people solved
Jul 17, 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