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
NVIDIA logo
NVIDIA
Easy
Software Engineer

Implement encode/decode for list of strings

You are given a list of strings (may include digits and symbols). Implement two methods: - encode(List<String> input) -> String: converts the list int...

Coding & Algorithms
4
0
81 people solved
Feb 11, 2026
Snowflake logo
Snowflake
Hard
Software Engineer Locked

Solve scheduling and tree path problems

This set evaluates interval scheduling and constrained optimization for weighted, at-most-K selection, tree structure manipulation and subtree effects...

Coding & Algorithms
22
0
169 people solved
Feb 11, 2026
Uber logo
Uber
Hard
Software Engineer

Check if each prefix forms 1..k permutation

You are given an integer array arr of length n that is a permutation of the numbers 1..n (each number appears exactly once), but in arbitrary order. F...

Coding & Algorithms
20
0
204 people solved
Feb 11, 2026
Uber logo
Uber
Medium
Software Engineer

Find minimum reversals to orient edges away from root

You are given a connected graph with n nodes labeled 0..n-1 and n-1 directed edges. If you ignore edge directions, the edges form a tree. Each directe...

Coding & Algorithms
34
0
249 people solved
Feb 11, 2026
Ge logo
Ge
Medium
Software Engineer

Count visible people to the right

Problem You are given an array heights of length n, where heights[i] is the height of the i-th person standing in a line from left to right. For each ...

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

Group points by distance threshold

This question evaluates understanding of geometric graph construction and connectivity, computational geometry concepts such as Euclidean distance, an...

Coding & Algorithms
5
0
82 people solved
Feb 11, 2026
Molocoads logo
Molocoads
Medium
Software Engineer

Can you visit all rooms and score parentheses?

Problem 1: Visit all locked rooms with keys There are n rooms labeled 0..n-1. All rooms are locked except room 0. - When you enter room i, you find a ...

Coding & Algorithms
7
0
56 people solved
Feb 11, 2026
TikTok logo
TikTok
Medium
Software Engineer

Delete nodes in linked list and binary tree

You are asked to solve two short coding tasks. You may assume standard node definitions: - Singly linked list node: val, next - Binary tree node: val,...

Coding & Algorithms
3
0
69 people solved
Feb 11, 2026
Apple logo
Apple
Hard
Software Engineer Locked

Implement a lazy inorder traversal iterator

This question evaluates understanding of binary tree traversal and iterator design, specifically the implementation of a lazy inorder iterator under t...

Coding & Algorithms
7
0
74 people solved
Feb 11, 2026
Meta logo
Meta
Medium
Software Engineer

Extend cloud file system with copy and compression

In-Memory Cloud File System V2: Copy, Capacity Updates, Compress/Decompress Design an in-memory file system with per-user quotas and additional operat...

Coding & Algorithms
9
0
71 people solved
Feb 11, 2026
Meta logo
Meta
Medium
Software Engineer

Design a bank system with scheduled transfers

Bank System (OOD): Accounts, Transfers, Scheduling, Top Spending, Merge Design an in-memory banking system that supports: - account creation - deposit...

Coding & Algorithms
2
0
41 people solved
Feb 11, 2026
Meta logo
Meta
Medium
Software Engineer

Design an in-memory cloud file system

In-Memory Cloud File System (OOD) Design an in-memory cloud file system that supports files owned by users with storage quotas. Data model / rules - E...

Coding & Algorithms
5
0
43 people solved
Feb 11, 2026
TikTok logo
TikTok
Medium
Software Engineer

Solve string grouping and tree right-view problems

Problem 1: Group words that are anagrams You are given an array of strings words. Two strings are anagrams if they contain the same characters with th...

Coding & Algorithms
8
0
89 people solved
Feb 11, 2026
Waymo logo
Waymo
Medium
Software Engineer Locked

Compute ETA between two map nodes

This question evaluates proficiency in graph algorithms and shortest-path computation, specifically handling weighted directed graphs, non-negative tr...

Coding & Algorithms
19
0
172 people solved
Feb 11, 2026
Uber logo
Uber
Medium
Software Engineer

Solve these algorithmic problems

You are given the following independent coding tasks. For each task, design an algorithm and implement a function that returns the requested output. -...

Coding & Algorithms
57
1
456 people solved
Feb 11, 2026
LinkedIn logo
LinkedIn
Medium
Software Engineer

Check perfect square using binary search

Perfect Square Check (Binary Search) Given a positive integer n, determine whether it is a perfect square (i.e., there exists an integer x such that x...

Coding & Algorithms
11
2
145 people solved
Feb 11, 2026
Liftoff logo
Liftoff
Medium
Software Engineer

Implement minimal RLE encode/decode with max run K

You are given a run-length encoding (RLE) format that compresses a string by grouping consecutive repetitions of a short substring. Encoding format An...

Coding & Algorithms
6
0
59 people solved
Feb 11, 2026
Roblox logo
Roblox
Medium
Software Engineer Locked

Find most frequent call path in logs

This question evaluates stack-based simulation of single-threaded call traces, hierarchical path construction and frequency counting with deterministi...

Coding & Algorithms
30
0
246 people solved
Feb 11, 2026
Google logo
Google
Medium
Software Engineer

Validate parent array forms a tree

Problem You are given an integer array parent of length n describing a directed parent pointer for each node i (nodes are labeled 0..n-1). - parent[i]...

Coding & Algorithms
13
1
160 people solved
Feb 11, 2026
Databricks logo
Databricks
Medium
Software Engineer Locked

Choose fastest transportation mode on city grid

This question evaluates a candidate's ability to model constrained grid movement and perform weighted shortest-path optimization, covering skills in g...

Coding & Algorithms
16
0
188 people solved
Feb 11, 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