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

Compute weighted sum of nested lists

Compute weighted sum of nested lists Given a nested collection that can contain integers or other nested collections, compute the depth-weighted sum w...

Coding & Algorithms
7
0
52 people solved
Aug 7, 2025
SoFi logo
SoFi
Medium
Software Engineer

Determine reachability and minimum jumps

Determine reachability and minimum jumps Given an array of non-negative integers nums of length n, where nums[i] is the maximum number of steps you ca...

Coding & Algorithms
7
0
78 people solved
Aug 7, 2025
Bridge logo
Bridge
Medium
Software Engineer

Design Minesweeper and Optimize Click Performance

Design a Minesweeper game. At game start, initialize an m×n board by randomly placing k bombs. Implement: ( 1) printBoard(): return a human-readable s...

Coding & Algorithms
8
0
67 people solved
Aug 7, 2025
Oracle logo
Oracle
Medium
Software Engineer

Minimize sum with halving operations

Minimize sum with halving operations You are given an array of non-negative integers nums and an integer k. In one operation, choose any index i and r...

Coding & Algorithms
4
0
47 people solved
Aug 7, 2025
Salesforce logo
Salesforce
Medium
Software Engineer

Convert integer to NAF form

Question Convert a given integer into its Non-Adjacent Form (NAF) representation such that no two non-zero digits are adjacent, and prove that the res...

Coding & Algorithms
2
0
10 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Software Engineer

Determine reachability and optimize task scheduling

Question LeetCode 780. Reaching Points: Given four integers a, b, c, d (1 <= a, b, c, d <= 1000). Starting from (a, b) you may repeatedly apply either...

Coding & Algorithms
2
0
38 people solved
Aug 4, 2025
Uber logo
Uber
Medium
Software Engineer

Perform matrix Candy Crush elimination

Question Implement a function that, given an m × n integer matrix representing colored blocks (same integers = same color), performs one round of "Can...

Coding & Algorithms
4
0
70 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Software Engineer

Compute delay times in priority array

Question Given an array of integers representing task priorities processed from right to left, return an array where each element is the distance (ind...

Coding & Algorithms
4
0
33 people solved
Aug 4, 2025
Stripe logo
Stripe
Medium
Software Engineer

Implement Card Validation and Recovery System

Question Design and implement a payment-card validation system supporting: Basic VISA validation (16-digit numbers starting with 4) using the Luhn che...

Coding & Algorithms
2
0
21 people solved
Aug 4, 2025
Coinbase logo
Coinbase
Medium
Software Engineer

Implement bank balance operations

Question Design and implement a Bank account class that supports the operations Deposit(amount), Withdraw(amount), and CashBack(percent). Ensure balan...

Coding & Algorithms
4
0
58 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Software Engineer

Solve weighted pick and product except self

Question LeetCode 528. Random Pick with Weight LeetCode 238. Product of Array Except Self https://leetcode.com/problems/random-pick-with-weight/descri...

Coding & Algorithms
5
0
36 people solved
Aug 4, 2025
Netflix logo
Netflix
Medium
Software Engineer

Solve non-repeating show substring

Question LeetCode 3. Longest Substring Without Repeating Characters – variant where the elements are show names instead of numbers. https://leetcode.c...

Coding & Algorithms
12
0
194 people solved
Aug 4, 2025
Airbnb logo
Airbnb
Medium
Software Engineer

Maximize path score in DAG

Question Given a weighted directed acyclic graph (DAG) where each node v has a score w(v) and each edge (u→v) has a time cost t(u,v), starting from no...

Coding & Algorithms
18
0
226 people solved
Aug 4, 2025
Instacart logo
Instacart
Medium
Software Engineer

Optimize file reading and expression DFS

Optimize file reading and expression DFS Given a large password file, build a program to read the required password(s) while minimizing memory usage. ...

Coding & Algorithms
20
0
138 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Software Engineer

Find concatenated words in list

Question LeetCode 472. Concatenated Words – Given an array of strings words, return all words that are concatenations of at least two shorter words al...

Coding & Algorithms
4
0
34 people solved
Aug 4, 2025
Current logo
Current
Medium
Software Engineer

Compute balances and array queries

Question Given a list of transactions where each transaction has a userId and an amount (positive for credit, negative for debit), compute the final b...

Coding & Algorithms
5
0
53 people solved
Aug 4, 2025
Bloomberg logo
Bloomberg
Medium
Software Engineer

Solve Number of Islands

Question LeetCode 200. Number of Islands – Given a 2D grid of '1's (land) and '0's (water), count the number of islands. Follow-up: implement the solu...

Coding & Algorithms
6
0
78 people solved
Aug 4, 2025
DoorDash logo
DoorDash
Medium
Software Engineer

Solve string match and DashMart BFS

Question Implement a string-matching function that returns the first index of a pattern in a text (akin to LeetCode 28 Implement strStr()). 2) “Dash M...

Coding & Algorithms
7
0
67 people solved
Aug 4, 2025
Vanta logo
Vanta
Medium
Software Engineer

Design test-run logging and query functions

Question Implement log(test_id, timestamp, status) to record a test run, where timestamps are strictly increasing across all test IDs. Implement get_m...

Coding & Algorithms
29
0
243 people solved
Aug 4, 2025
Vanta logo
Vanta
Medium
Software Engineer

Implement test failure analytics APIs

Question Design a data structure that supports: log(testId, timestamp, status) — record the status ('pass'/'fail') of a test run; timestamps are stric...

Coding & Algorithms
31
1
314 people solved
Aug 4, 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