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

Validate a 9×9 grid under constraints

This question evaluates the ability to perform constraint validation on a fixed-size 9×9 grid, testing skills in matrix/array handling, duplicate dete...

Coding & Algorithms
4
0
58 people solved
Jan 19, 2026
Ramp logo
Ramp
Medium
Software Engineer Locked

Implement wildcard querySelector to extract URL

This question evaluates implementation skills for a simplified selector engine, DOM traversal and manipulation, wildcard attribute pattern matching, a...

Coding & Algorithms
41
0
341 people solved
Jan 18, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Compute dot product of sparse vectors

This question evaluates proficiency with sparse data representations and algorithmic efficiency by requiring the dot product to be computed from lists...

Coding & Algorithms
3
0
33 people solved
Jan 18, 2026
SoFi logo
SoFi
Medium
Software EngineerSenior+ Locked

Generate all permutations of an array

This question evaluates understanding of permutation generation, recursion and backtracking techniques, along with skills in state-space exploration a...

Coding & Algorithms
11
0
105 people solved
Jan 16, 2026
Zipline logo
Zipline
Medium
Software Engineer

Implement a Maximum-Tracking Stack

Design a stack-like data structure that supports the following operations efficiently: - push(x): Push integer x onto the stack. - pop(): Remove and r...

Coding & Algorithms
1
0
19 people solved
Jan 15, 2026
Uber logo
Uber
Medium
Software Engineer

Count paths with prime-ending jumps

You are given an integer n representing the top of a staircase, where you start at step 0 and want to land exactly on step n. In one move, you may jum...

Coding & Algorithms
2
0
35 people solved
Jan 15, 2026
Stripe logo
Stripe
Hard
Software Engineer

Detect Trigger and Resolve Events

You are given transaction logs sorted by non-decreasing timestamp. Each log record has four fields: - timestamp: integer time in seconds - merchant_id...

Coding & Algorithms
4
0
55 people solved
Jan 15, 2026
Amazon logo
Amazon
Hard
Software EngineerIntern

Count unique Morse-code word transformations

Given an array of lowercase strings words. Each letter 'a' to 'z' has a corresponding Morse code string (standard 26-letter mapping). A word’s transfo...

Coding & Algorithms
6
0
71 people solved
Jan 15, 2026
Google logo
Google
Hard
Software Engineer Locked

Find conflicting pair using black-box run()

This question evaluates algorithm design and query-complexity reasoning, focusing on efficient search strategies for identifying an interacting pair v...

Coding & Algorithms
10
0
92 people solved
Jan 15, 2026
Google logo
Google
Hard
Software Engineer Locked

Find best-matching binary pattern with wildcards

This question evaluates pattern-matching and string-algorithm skills, including handling wildcards and variable-length matches, priority-based rule se...

Coding & Algorithms
10
0
114 people solved
Jan 15, 2026
DoorDash logo
DoorDash
Medium
Software Engineer

Select the best dasher for an order

You need to assign an order to a dasher. Input: - An order with a pickup location (x, y). - A list of dashers, each with: - id - current location ...

Coding & Algorithms
29
0
226 people solved
Jan 14, 2026
Sealth logo
Sealth
Medium
Software Engineer

Decode Ambiguous Morse Messages

You are given a mapping from Morse patterns to lowercase English letters. Implement two related functions: 1. Deterministic decoding with character an...

Coding & Algorithms
1
0
22 people solved
Jan 13, 2026
J.P. Morgan logo
J.P. Morgan
Easy
Software Engineer

Count substrings and generate TOC

Solve the following two coding problems. 1. Count valid binary substrings Given a string s consisting only of '0' and '1', count how many substrings s...

Coding & Algorithms
3
0
29 people solved
Jan 13, 2026
DoorDash logo
DoorDash
Medium
Software Engineer

Can two names match with ≤2 swaps?

You are given two restaurant names represented as strings s and t of equal length (same character set, case-sensitive). In one operation, you may swap...

Coding & Algorithms
5
0
94 people solved
Jan 13, 2026
Google logo
Google
Medium
Software Engineer

Find top/bottom-k words in list or stream

You are given words (strings) either as a finite list or as an unbounded stream. 1) List version: Given an array words and an integer k, return: - the...

Coding & Algorithms
14
0
141 people solved
Jan 11, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Return sorted squares of a sorted array

This question evaluates array-processing and algorithmic optimization skills, including handling negative values, element-wise transformations, and pr...

Coding & Algorithms
7
0
77 people solved
Jan 10, 2026
Snapchat logo
Snapchat
Medium
Software Engineer Locked

Find max node-value range across components

This question evaluates understanding of undirected graph connectivity and component-wise aggregation, specifically the ability to identify connected ...

Coding & Algorithms
3
0
41 people solved
Jan 10, 2026
DoorDash logo
DoorDash
Medium
Software Engineer

Calculate Courier Earnings

Design a function to calculate total courier pay from a set of delivery orders. Assume time is represented as integer minutes, and intervals are half-...

Coding & Algorithms
9
0
71 people solved
Jan 9, 2026
Microsoft logo
Microsoft
Medium
Software Engineer Locked

Compute distance of each node to a cycle

This question evaluates proficiency in graph algorithms, including understanding unicyclic graph structure, cycle identification, and computing minimu...

Coding & Algorithms
4
0
85 people solved
Jan 9, 2026
Bloomberg logo
Bloomberg
Easy
Software Engineer Locked

Compute meeting rooms and evaluate RPN

This multi-part question evaluates interval reasoning and resource-allocation skills for meeting room scheduling alongside stack-based expression eval...

Coding & Algorithms
9
0
85 people solved
Jan 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