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

Implement a simplified multi-level banking system

Implement a simplified multi-level banking system Implement a simplified banking system with multi-level requirements. All operations accept a stringi...

Coding & Algorithms
9
0
83 people solved
Jul 17, 2025
Optiver logo
Optiver
Medium
Software Engineer

Solve three mini-game algorithm tasks

Solve three mini-game algorithm tasks Solve three mini-game algorithm tasks: (a) Move-House Puzzle: Given initial and target arrangements of N labeled...

Coding & Algorithms
12
0
86 people solved
Jul 17, 2025
Netflix logo
Netflix
Medium
Software Engineer

Implement topological sort from string input

You receive N lines of raw text describing task dependencies, e.g., 'install A after B', 'C->A', 'B before D'. Implement a function that: ( 1) parses ...

Coding & Algorithms
12
0
155 people solved
Jul 17, 2025
DoorDash logo
DoorDash
Medium
Software Engineer

Compute nearest dashmart and busiest assignments

Compute nearest dashmart and busiest assignments You are given an m x n grid of characters where 'D' marks a dashmart, 'X' marks an impassable cell, a...

Coding & Algorithms
7
0
75 people solved
Jul 17, 2025
Meta logo
Meta
Medium
Software Engineer

Implement string sum and weighted city picker

Implement string sum and weighted city picker Part A — Add two numbers represented as strings: Given two non‑negative integers provided as decimal str...

Coding & Algorithms
3
0
36 people solved
Jul 17, 2025
Circle logo
Circle
Medium
Software Engineer

Implement cheapest itinerary with date filters

Implement a function that computes the cheapest itinerary from a given origin to a destination using a list of flights, where each flight has (id, sou...

Coding & Algorithms
8
0
117 people solved
Jul 17, 2025
IXL Learning logo
IXL Learning
Medium
Software Engineer

Solve snake game, peak search, and task scheduling

Solve snake game, peak search, and task scheduling 1) Design a grid-based snake simulation that supports move(direction) operations on a W×H board. Th...

Coding & Algorithms
4
0
73 people solved
Jul 17, 2025
TikTok logo
TikTok
Medium
Software Engineer

Explain Java DI, AOP, and transactions

Explain how dependency injection and AOP proxies are implemented in a modern Java framework such as Spring: bean lifecycle (creation, post-processing,...

Coding & Algorithms
2
0
18 people solved
Jul 17, 2025
TikTok logo
TikTok
Medium
Software Engineer

Parse chemical formula with multipliers

Parse chemical formula with multipliers Given a string representing a chemical formula, parse it and return the total count of each element. The formu...

Coding & Algorithms
3
0
34 people solved
Jul 16, 2025
Optiver logo
Optiver
Medium
Software Engineer

Detect currency arbitrage with costs

You are given a K×K matrix R of currency exchange rates where R[i][j] is the amount of currency j obtainable for one unit of currency i, and R[i][i] =...

Coding & Algorithms
36
0
261 people solved
Jul 16, 2025
Airbnb logo
Airbnb
Medium
Software Engineer

Design refundable transaction ledger and prioritization rules

Design and implement a transaction ledger that ingests a stream of records where each record is either a payment or a refund. Each payment has {id, us...

Coding & Algorithms
32
0
298 people solved
Jul 16, 2025
Samsara logo
Samsara
Medium
Software Engineer

Implement Markdown-to-HTML parser

Implement a function that converts a plain-text string into HTML supporting only these features: ( 1) Paragraphs: two or more consecutive newline char...

Coding & Algorithms
16
0
189 people solved
Jul 16, 2025
Morgan Stanley logo
Morgan Stanley
Medium
Software Engineer

Count decodings of a digit string

Count decodings of a digit string You are given a non-empty digit string s consisting of characters '0'–'9' and a mapping where 1->'a', 2->'b', ..., 2...

Coding & Algorithms
3
0
37 people solved
Jul 16, 2025
J.P. Morgan logo
J.P. Morgan
Medium
Software Engineer

Group anagrams and count string in grid

Part 1 — Group Anagrams: Given an array of strings, group together strings that are anagrams of one another and output both the grouped lists and the ...

Coding & Algorithms
4
0
35 people solved
Jul 16, 2025
Meta logo
Meta
Medium
Software Engineer

Implement range-sum tree and sort merged lists

Implement range-sum tree and sort merged lists 1) Given a binary tree whose nodes store integer values, and two integers low and high defining an incl...

Coding & Algorithms
4
0
38 people solved
Jul 16, 2025
Meta logo
Meta
Medium
Software Engineer

Solve two string algorithm tasks

Solve two string algorithm tasks Answer both parts. A) Parentheses correction: Given a string s consisting only of '(' and ')', output the minimum num...

Coding & Algorithms
3
0
25 people solved
Jul 15, 2025
Uber logo
Uber
Medium
Software Engineer

Implement uniform sampling in squares

Implement uniform sampling in squares Implement a class Square representing an axis-aligned square on the 2D plane that supports sampling a uniformly ...

Coding & Algorithms
6
0
75 people solved
Jul 15, 2025
TikTok logo
TikTok
Medium
Software Engineer

Reconstruct a tree from two traversals

Reconstruct a tree from two traversals Given two arrays representing the preorder and inorder traversals of a binary tree with unique values, reconstr...

Coding & Algorithms
4
0
45 people solved
Jul 15, 2025
Palantir logo
Palantir
Medium
Software Engineer

Group employees by shared interests

Given N employees, each with an integer id and a set of interests (strings), write an algorithm to find all employees who share at least one common in...

Coding & Algorithms
17
0
185 people solved
Jul 15, 2025
TikTok logo
TikTok
Medium
Software Engineer

Check if two-group seating is possible

Check if two-group seating is possible Given an undirected graph represented as an adjacency list where adj[i] lists the indices of guests who know gu...

Coding & Algorithms
2
0
26 people solved
Jul 15, 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