Software Engineer Coding & Algorithms Interview Questions

Practice 2,743 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
Intersystems logo
Intersystems
Easy
Software EngineerNew Grad

Find the longest palindromic substring

Problem Given a string s, find the longest contiguous substring of s that is a palindrome (reads the same forward and backward). Input - A string s co...

Coding & Algorithms
3
0
39 people solved
Feb 11, 2026
Vmware logo
Vmware
Medium
Software Engineer Locked

Compute iterative sliding-window sum reduction

This question evaluates algorithmic problem-solving and array-manipulation skills, focusing on sliding-window and iterative reduction concepts within ...

Coding & Algorithms
4
0
33 people solved
Feb 11, 2026
Glean logo
Glean
Hard
Software Engineer

Implement 2048 tilt move

Problem: Implement a 2048 “tilt” (move) operation You are given a 4×4 board for the game 2048. Each cell contains either 0 (empty) or a power of two (...

Coding & Algorithms
19
0
237 people solved
Feb 11, 2026
Google logo
Google
Medium
Software Engineer Locked

Decompress encoded string with nested repeats

This question evaluates string parsing and manipulation skills, particularly handling nested repetition encodings and reasoning about output growth, a...

Coding & Algorithms
27
0
197 people solved
Feb 11, 2026
Airbnb logo
Airbnb
Medium
Software Engineer Locked

Simulate pouring water onto terrain

This question evaluates a candidate's ability to implement a discrete simulation and perform array manipulation while correctly handling deterministic...

Coding & Algorithms
32
4
233 people solved
Feb 11, 2026
Coinbase logo
Coinbase
Medium
Software Engineer Locked

Select transactions to maximize fees under size

This question evaluates the ability to model and optimize resource allocation under capacity constraints, testing algorithmic skills in dynamic progra...

Coding & Algorithms
50
0
381 people solved
Feb 11, 2026
Verkada logo
Verkada
Medium
Software Engineer Locked

Find user who can access every camera

This question evaluates reasoning about access-control and transitive relationships, testing skills in graph modeling, reachability, and set operation...

Coding & Algorithms
9
0
76 people solved
Feb 11, 2026
Citadel logo
Citadel
Medium
Software Engineer Locked

Compute maximum later-earlier difference

This question evaluates array-processing and algorithmic optimization skills, testing reasoning about element relationships in sequences; it falls und...

Coding & Algorithms
6
0
100 people solved
Feb 11, 2026
Goldman Sachs logo
Goldman Sachs
Medium
Software Engineer Locked

Solve string and hashmap coding tasks

This multi-part prompt evaluates string manipulation, hash map usage for grouping and lookup, and simulation of sequential commands, along with robust...

Coding & Algorithms
8
0
98 people solved
Feb 11, 2026
Microsoft logo
Microsoft
Medium
Software Engineer

Implement a Tic-Tac-Toe game class

Problem Implement a class that supports playing an n × n Tic-Tac-Toe game. Requirements Create a class TicTacToe(n) with: - move(row, col, player) -> ...

Coding & Algorithms
6
0
69 people solved
Oct 14, 2025
Voleon logo
Voleon
Hard
Software Engineer

Count White Balls After K Steps

You are given a ring of N positions indexed from 0 to N-1. - At each position i, there is initially one ball whose color is either white or black. - E...

Coding & Algorithms
31
0
271 people solved
Feb 10, 2026
LinkedIn logo
LinkedIn
Medium
Software EngineerSenior+ Locked

Solve substring and top‑K pair problems

This multi-part question evaluates algorithm design and data-structure proficiency across string processing (minimum window substring), pair-selection...

Coding & Algorithms
11
0
83 people solved
Oct 13, 2025
Atlassian logo
Atlassian
Easy
Software Engineer Locked

Filter Invalid Data Events

This question evaluates a candidate's ability to implement data validation, deduplication, stable filtering, time-range and allow-list checks, and to ...

Coding & Algorithms
7
0
55 people solved
Feb 9, 2026
Palo logo
Palo
Medium
Software Engineer

Find minimum tanks to cover all houses

You are given a string S representing a street: - 'H' = a house - '-' = an empty plot where you may place a water tank A house is considered covered (...

Coding & Algorithms
1
0
25 people solved
Feb 9, 2026
Coinbase logo
Coinbase
Medium
Software Engineer

Design an in-memory banking system

Implement an in-memory banking system (e.g., in Java) that supports the following operations on user accounts. Assume user IDs are unique strings and ...

Coding & Algorithms
40
0
431 people solved
Feb 9, 2026
Bloomberg logo
Bloomberg
Medium
Software Engineer Locked

Predict most likely next word from training data

This question evaluates proficiency in frequency-based language modeling and data-structure design, focusing on token sequence analysis, frequency cou...

Coding & Algorithms
12
0
118 people solved
Feb 9, 2026
Anthropic logo
Anthropic
Hard
Software Engineer Locked

Build a least-recently-used cache

This question evaluates a candidate's competence in designing and implementing efficient in-memory cache mechanisms, focusing on data structures, evic...

Coding & Algorithms
4
0
35 people solved
Feb 8, 2026
Capital One logo
Capital One
Medium
Software EngineerSenior+

Place Pieces on a Grid

Given integers n and m, and an ordered list figures where each element is one of "A", "B", "C", "D", or "E", construct an n x m integer matrix grid. T...

Coding & Algorithms
5
0
63 people solved
Feb 8, 2026
Snapchat logo
Snapchat
Medium
Software Engineer Locked

Solve Three Coding Problems

This set of problems evaluates competencies in streaming data handling and incremental aggregation, time-dependent grid traversal and reachability und...

Coding & Algorithms
2
0
25 people solved
Feb 8, 2026
Axon logo
Axon
Medium
Software Engineer Locked

Implement encryption and constant-time random set

This question evaluates understanding of symmetric shared-secret string transformation and the design of a randomized set supporting expected O(1) ope...

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