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

Implement String Encryption and Decryption

This question evaluates understanding of string encoding and mapping, including handling non-bijective character-to-code relationships and performing ...

Coding & Algorithms
4
0
32 people solved
Jan 2, 2026
xAI logo
xAI
Medium
Software Engineer

Contrast processes and threads

What are the differences between processes and threads? Compare memory isolation, resource ownership, scheduling, context-switch cost, inter-process c...

Coding & Algorithms
6
0
91 people solved
Aug 12, 2025
Uber logo
Uber
Medium
Software Engineer Locked

Implement Minesweeper and Word Search

This multi-part prompt evaluates grid-based algorithmic skills, including randomized board construction with neighbor counting, straight-line pattern ...

Coding & Algorithms
2
0
15 people solved
May 7, 2026
Pinduoduo logo
Pinduoduo
Medium
Software Engineer Locked

Compute longest increasing subsequence length

This question evaluates understanding of sequence analysis and algorithmic problem solving, assessing competency with subsequences, reasoning about co...

Coding & Algorithms
3
0
47 people solved
Jan 1, 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

Implement core graph algorithms for graphics

Implement core graph algorithms for graphics Given a scene or dependency graph, implement topological sort, BFS/DFS, and shortest path (Dijkstra). Dis...

Coding & Algorithms
8
0
83 people solved
Aug 9, 2025
PayPal logo
PayPal
Medium
Software Engineer

Explain HashMap internals and collisions

Explain HashMap internals and collisions In Java, describe the underlying data structures used by HashMap (e.g., array of buckets, linked lists vs tre...

Coding & Algorithms
6
0
68 people solved
Aug 7, 2025
Goldman Sachs logo
Goldman Sachs
Medium
Software Engineer

Implement an Integer Hash Map

Design a data structure MyHashMap that stores integer keys and integer values without using any built-in hash table library. Implement the following o...

Coding & Algorithms
5
0
64 people solved
Feb 25, 2026
Snowflake logo
Snowflake
Hard
Software Engineer

Design transactional in-memory key-value store

Problem Design and implement an in-memory key–value store that supports basic operations plus transactions. Core API Implement the following operation...

Coding & Algorithms
32
0
273 people solved
Nov 4, 2025
Pinduoduo logo
Pinduoduo
Medium
Software EngineerSenior+

Validate a Binary Search Tree

Validate a Binary Search Tree Problem Given a binary tree, return whether it is a valid binary search tree. For every node, every value in its left su...

Coding & Algorithms
0
0
5 people solved
May 4, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Implement Cache Eviction And Seat Assignment

This question evaluates understanding of data structure design and algorithmic reasoning, covering cache eviction policies (least-recently-used) and s...

Coding & Algorithms
0
0
9 people solved
May 4, 2026
Visa logo
Visa
Hard
Software EngineerSenior+ Locked

Solve Two Algorithm Challenges

These two problems evaluate algorithmic skills in array optimization and graph pathfinding: the first focuses on selecting three ordered, non-overlapp...

Coding & Algorithms
0
0
15 people solved
May 4, 2026
Meta logo
Meta
Medium
Software Engineer

Find balanced subarray and increasing tree path

You are given two coding problems. Problem 1: Longest balanced subarray (0/1) Given an integer array nums of length n where each element is either 0 o...

Coding & Algorithms
6
0
64 people solved
Nov 2, 2025
Vanta logo
Vanta
Medium
Software Engineer

Remove Global Duplicates While Preserving Order

Remove Global Duplicates While Preserving Order Implement global_unique(values). values is a list of strings. Return a new list containing the first o...

Coding & Algorithms
0
0
8 people solved
May 3, 2026
Datadog logo
Datadog
Medium
Software Engineer

Match logs to prior queries

Question You receive a stream of strings, each beginning with either "Q:" (query) or "L:" (log). A query consists of space-separated words and should ...

Coding & Algorithms
18
0
68 people solved
Jul 29, 2025
Uber logo
Uber
Medium
Software Engineer Locked

Find possible robot positions

This question evaluates a candidate's ability to reason about grid traversal, boundary conditions, directional visibility counting, and constraint-bas...

Coding & Algorithms
5
0
99 people solved
Feb 21, 2026
Pinduoduo logo
Pinduoduo
Medium
Software Engineer Locked

Design a Recency-Eviction Cache

This question evaluates proficiency with data structures and algorithmic design for implementing a fixed-capacity key-value cache that enforces recenc...

Coding & Algorithms
5
0
38 people solved
Feb 21, 2026
Headway logo
Headway
Hard
Software Engineer Locked

Implement Journey Counter and Speeder Detector

This question evaluates parsing, time-series processing, and algorithmic reasoning for detecting complete journeys and speed violations from structure...

Coding & Algorithms
6
0
92 people solved
Feb 20, 2026
Google logo
Google
Medium
Software Engineer Locked

Determine Whether a Word Exists in a Graph

This question evaluates proficiency in graph algorithms and backtracking techniques, including traversal strategies, cycle avoidance, and state manage...

Coding & Algorithms
6
2
37 people solved
May 2, 2026
Coinbase logo
Coinbase
Medium
Software Engineer

Generate constrained NFT metadata

Generate constrained NFT metadata Given a set of trait types (e.g., background, eyes, hat), each with a list of allowed values, and a target count N, ...

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