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
Google logo
Google
Hard
Software EngineerSenior+ Locked

Infection Spread on a Grid (Cellular Automaton)

This question tests a candidate's ability to implement and optimize a synchronous cellular automaton simulation on a 2D grid, assessing proficiency in...

Coding & Algorithms
4
0
19 people solved
Jun 14, 2026
Qualcomm logo
Qualcomm
Medium
Software Engineer

Find the First Bad Version in a Monotonic Release History

Find the First Bad Version in a Monotonic Release History You are given a release history as a boolean array bad. Versions use zero-based indices. Onc...

Coding & Algorithms
1
0
13 people solved
Apr 16, 2026
Bloomberg logo
Bloomberg
Medium
Software Engineer

Solve two array and string problems

You will solve two independent coding tasks. Problem 1: Generate All Subsets of a Set You are given an integer array nums containing n distinct elemen...

Coding & Algorithms
14
0
171 people solved
Oct 16, 2025
Coinbase logo
Coinbase
Medium
Software Engineer

Implement custom iterator classes

Implement custom iterator classes In a blank coding environment (no IDE assistance, no autocomplete), implement an iterator abstraction entirely from ...

Coding & Algorithms
24
0
187 people solved
Aug 4, 2025
Shopify logo
Shopify
Medium
Software Engineer AI Locked

Terminal-Controlled Grid Rover Simulator

This question evaluates a candidate's ability to model stateful simulation logic, translating grid coordinates, heading rotations, and sequential comm...

Coding & Algorithms
1
0
10 people solved
Jun 13, 2026
OpenAI logo
OpenAI
Hard
Software Engineer Locked

Implement IP Address Arithmetic

This question evaluates proficiency in IP addressing, parsing and validation, binary/address-space arithmetic, CIDR subnet calculation, and formatting...

Coding & Algorithms
5
3
38 people solved
May 12, 2026
Nextdoor logo
Nextdoor
Hard
Software Engineer Locked

Simulate Transaction Lock Scheduling

This question evaluates understanding of concurrency control, lock scheduling, transaction state management, and queuing behavior in the Coding & Algo...

Coding & Algorithms
0
0
11 people solved
May 27, 2026
Amazon logo
Amazon
Medium
Software Engineer

Solve Nearby Inventory and Word Segmentation Tasks

Two Algorithmic Tasks Implement both parts. They are independent and should have separate functions. Part A - Nearby Centers with Inventory An undirec...

Coding & Algorithms
1
0
16 people solved
Feb 2, 2026
Meta logo
Meta
Medium
Software EngineerSenior+ AI

Solve Three Coding Interview Problems

The interview included three coding tasks: 1. Common ancestor in an N-ary tree You are given the root of an N-ary tree and two target nodes. Dete...

Coding & Algorithms
4
0
53 people solved
Feb 2, 2026
Confluent logo
Confluent
Medium
Software Engineer

Implement tail N lines

Question Implement a utility tail(path: string, N: int) (and an equivalent stream variant) that prints the last N lines of input without loading the w...

Coding & Algorithms
42
0
292 people solved
Sep 6, 2025
Bloomberg logo
Bloomberg
Medium
Software Engineer Locked

Implement streaming enrichment aggregator

This question evaluates competency in stateful stream processing, event-driven aggregation, in-memory state management, time-based expiry, and produci...

Coding & Algorithms
12
0
110 people solved
Jan 11, 2026
eBay logo
eBay
Medium
Software Engineer Locked

Wildcard Dictionary Matching

This question evaluates a candidate's ability to design custom pattern-matching logic beyond simple substring or regex lookups, handling both fixed-le...

Coding & Algorithms
1
0
6 people solved
Jun 12, 2026
Snapchat logo
Snapchat
Hard
Software Engineer Locked

Implement a search autocomplete suggestion service

This question evaluates proficiency in designing efficient prefix-matching and ranking mechanisms, including management of incremental query state and...

Coding & Algorithms
10
0
88 people solved
Feb 11, 2026
Microsoft logo
Microsoft
Hard
Software Engineer Locked

Return Top K Open Businesses

This question evaluates a candidate's ability to perform filtering and multi-criteria ranking, requiring correct handling of an open-status filter and...

Coding & Algorithms
8
0
97 people solved
May 10, 2026
Atlassian logo
Atlassian
Medium
Software Engineer

Design a trie-based URL router with wildcards

Design a trie-based URL router with wildcards Implement a URL routing matcher that supports adding route patterns and matching request paths, using a ...

Coding & Algorithms
26
0
188 people solved
Jul 31, 2025
Amazon logo
Amazon
Medium
Software Engineer

Minimum Path Length Through a Grid With One Allowed Cell Conversion

You are given an m x n grid grid where every cell holds either 1 (an open cell you may stand on) or 0 (a blocked cell). You start at the top-left cell...

Coding & Algorithms
1
0
16 people solved
Jun 30, 2026
Apple logo
Apple
Medium
Software Engineer

Implement a FIFO Queue Using Two Stacks

Implement a FIFO Queue Using Two Stacks Implement a first-in-first-out (FIFO) queue using only two last-in-first-out (LIFO) stacks. The implemented qu...

Coding & Algorithms
3
0
11 people solved
Jun 30, 2026
Intuit logo
Intuit
Medium
Software Engineer

Sum palindrome-change costs over all substrings

This is a three-part coding screen. Each part is independent — a string-algorithms problem, a SQL aggregation problem, and a shell-parsing problem — a...

Coding & Algorithms
22
0
262 people solved
Oct 13, 2025
Asana logo
Asana
Medium
Software Engineer

Implement core puzzle/array/grid routines

You may be asked to solve one or more of the following coding exercises (write clean, testable code; discuss time/space complexity): 1) Jigsaw assembl...

Coding & Algorithms
45
0
370 people solved
Jan 7, 2026
Two Sigma logo
Two Sigma
Medium
Software Engineer Locked

Implement Price-Time Order Matching

This question evaluates understanding of limit-order book mechanics, priority-based matching, stateful stream processing, and data-structure managemen...

Coding & Algorithms
5
0
35 people solved
May 9, 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