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

Solve four algorithmic problems

Solve the following coding tasks. For each, describe your approach, complexity, and handle edge cases. 1) Make parentheses string valid with minimal d...

Coding & Algorithms
6
0
51 people solved
Oct 12, 2025
NVIDIA logo
NVIDIA
Medium
Software Engineer Locked

Design and implement an LRU cache

This question evaluates knowledge of data structures, algorithmic design, API design, and memory/resource management required to implement an efficien...

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

Check if a binary tree is complete

This question evaluates understanding of binary tree properties and traversal techniques, testing competency in data structures and algorithmic reason...

Coding & Algorithms
6
0
48 people solved
Feb 8, 2026
Citadel logo
Citadel
Medium
Software Engineer Locked

Find the Shortest Target-Sum Path

This question evaluates skills in binary tree traversal, path-sum computation, and optimization for selecting a root-to-leaf path with the minimal num...

Coding & Algorithms
1
0
28 people solved
Feb 7, 2026
Stripe logo
Stripe
Medium
Software Engineer

Compute account balances with rejection and overdraft

You are given a list of transaction records as strings. Each record has the format: ` account_id,timestamp,currency,amount ` - account_id: string iden...

Coding & Algorithms
2
0
19 people solved
Dec 3, 2025
Microsoft logo
Microsoft
Medium
Software Engineer

Determine dictionary-based string segmentation

You are given a string s and a set of tokens dict. Determine whether s can be segmented into a sequence of one or more tokens from dict. If segmentati...

Coding & Algorithms
3
0
61 people solved
Aug 14, 2025
Bloomberg logo
Bloomberg
Medium
Software Engineer Locked

Solve sliding-window, flattening, decode, and O(1) random set

This multi-part question evaluates competence in string processing and nested parsing, linked-list flattening and recursion depth management, dynamic ...

Coding & Algorithms
10
0
120 people solved
Feb 4, 2026
xAI logo
xAI
Medium
Software Engineer

Explain arrays and memory layout

What is an array? How is an array represented in memory (contiguous layout, element size and alignment, indexing arithmetic). Analyze time complexitie...

Coding & Algorithms
10
0
91 people solved
Aug 12, 2025
Bytedance logo
Bytedance
Medium
Software Engineer

Find Maximum Candies With Two Types

You are given a row of candies represented by an array candies, where candies[i] is the type of the candy at position i. You may choose any starting p...

Coding & Algorithms
1
0
15 people solved
Apr 22, 2026
Amazon logo
Amazon
Medium
Software Engineer

Solve three coding tasks: binary search, tree path, subarray

Solve three coding tasks: binary search, tree path, subarray Solve the following coding tasks: 1) In a sorted array, every value appears exactly twice...

Coding & Algorithms
7
0
56 people solved
Aug 10, 2025
NVIDIA logo
NVIDIA
Medium
Software Engineer

Explain a shader compiler pipeline

Explain a shader compiler pipeline Describe the architecture of a shader compiler that ingests GLSL/HLSL and outputs SPIR-V or ISA. Cover lexical anal...

Coding & Algorithms
8
0
70 people solved
Aug 9, 2025
Uber logo
Uber
Medium
Software Engineer Locked

Count Valid Infection Orders

This question evaluates combinatorial enumeration and algorithmic reasoning by counting valid sequences of state changes in a linear infection process...

Coding & Algorithms
2
0
24 people solved
Apr 21, 2026
Reevo logo
Reevo
Medium
Software Engineer

Maximize weighted sum with disjoint adjacent swaps

You are given an integer array arr of length n (0-indexed). Define the weighted sum as: S = Σ_{i=0..n-1} arr[i] * (i + 1). You may perform any number ...

Coding & Algorithms
3
0
36 people solved
Feb 2, 2026
Bytedance logo
Bytedance
Medium
Software EngineerSenior+

Implement Sliding Windows and LRU Cache

You are given two coding tasks. Task 1: Longest Subarray of Ones Given a binary array nums and an integer k, return the maximum length of a contiguous...

Coding & Algorithms
1
0
15 people solved
Apr 20, 2026
Stripe logo
Stripe
Medium
Software Engineer Locked

Validate KYC CSV Records

This question evaluates skills in CSV parsing, string normalization, field-level validation, and rule-based text matching, emphasizing attention to ed...

Coding & Algorithms
1
0
33 people solved
Jan 31, 2026
Decagon logo
Decagon
Medium
Software Engineer Locked

Design Sliding-Window Average Tracker

This question evaluates design and implementation of a time-windowed tracking data structure, focusing on streaming aggregation, handling monotonic ti...

Coding & Algorithms
9
0
106 people solved
Jan 31, 2026
xAI logo
xAI
Medium
Software Engineer Locked

Design a Recoverable Iterator

This question evaluates data-structure and state-management skills, focusing on iterator semantics, snapshotting/restore mechanics, and efficient time...

Coding & Algorithms
3
0
35 people solved
Jan 30, 2026
Palo logo
Palo
Easy
Software Engineer

Implement three whiteboard coding tasks

The interview report described several coding questions in the same category: 1. Binary search: Given a sorted array of integers and a target value, r...

Coding & Algorithms
2
0
29 people solved
Jan 30, 2026
OpenAI logo
OpenAI
Medium
Software Engineer Locked

Implement an IPv4 Range Iterator

This question evaluates implementing iterative data structures and range-handling algorithms alongside numeric representation of IPv4 addresses and bi...

Coding & Algorithms
4
0
72 people solved
Jan 29, 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