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
Google logo
Google
Hard
Software Engineer

Apply Range Overwrite Queries

You are given an integer array nums of length n and a list of range-assignment queries. Each query is a tuple (left, right, value), where left and rig...

Coding & Algorithms
22
1
233 people solved
Feb 25, 2026
Datadog logo
Datadog
Hard
Software Engineer

Implement Prefix Match Filter

Design a data structure that stores a collection of prefix strings. Then, given a list of input strings, return every string that begins with at least...

Coding & Algorithms
12
0
92 people solved
Feb 25, 2026
Faire logo
Faire
Medium
Software Engineer

Print a Centered Pascal Triangle

Given a positive integer height, generate the first height rows of Pascal's triangle and print them as a centered text triangle. Formatting requiremen...

Coding & Algorithms
1
0
29 people solved
Apr 10, 2026
Databricks logo
Databricks
Hard
Software EngineerNew Grad

Find path in implicit Fibonacci tree

You are given a special family of binary trees called Fibonacci trees. The k‑th order Fibonacci tree T(k) is defined recursively: - T(1) is a single n...

Coding & Algorithms
136
0
1029 people solved
Dec 10, 2025
Databricks logo
Databricks
Medium
Software Engineer

Implement run-length encoding and decoding

You are given a string consisting of lowercase English letters. You need to implement run-length encoding (RLE) and its corresponding decoding. 1. Enc...

Coding & Algorithms
44
0
372 people solved
Dec 8, 2025
Rippling logo
Rippling
Medium
Software Engineer

Convert amounts between multiple currencies

You are given a set of direct currency exchange rates and a list of queries. Each exchange rate gives you how to convert from one currency to another....

Coding & Algorithms
41
0
346 people solved
Dec 8, 2025
Fuse Energy logo
Fuse Energy
Medium
Software Engineer

Implement simplified Excel with SET/GET/SUM

Implement a simplified in-memory spreadsheet that supports three operations: SET, GET, and SUM, similar to basic Excel functionality. Assumptions and ...

Coding & Algorithms
46
0
314 people solved
Dec 8, 2025
Databricks logo
Databricks
Medium
Software Engineer

Check if CIDR is fully canceled by rules

You are given: - A target CIDR block T as a string, e.g. "10.0.0.0/16". - A list of rule CIDR blocks. Each rule has: - A type: either "allow" or "de...

Coding & Algorithms
23
0
202 people solved
Dec 8, 2025
Figma logo
Figma
Medium
Software Engineer

Check Graph Reachability For File Permissions

You are given a graph representing simplified file permission inheritance. In part 1, the graph is directed and may contain cycles. Return whether the...

Coding & Algorithms
0
0
9 people solved
Apr 9, 2026
Google logo
Google
Hard
Software Engineer Locked

Find Dictionary Matches for a Jammed String

This question evaluates string-processing and pattern-matching skills, specifically run-length grouping of consecutive characters and efficient dictio...

Coding & Algorithms
7
0
63 people solved
Apr 9, 2026
Uber logo
Uber
Medium
Software Engineer

Solve BFS and grid tasks

The coding rounds included several algorithmic problems: 1. Threshold search with binary search: You are given floors 1..n and an API canOperate(floor...

Coding & Algorithms
12
0
91 people solved
Feb 22, 2026
Perplexity logo
Perplexity
Hard
Software Engineer

Implement Task Dependencies and Failure

Implement a Python in-memory task manager for an AI workflow system. Each task has a unique task_id and a status. A task may depend on other tasks. If...

Coding & Algorithms
4
0
31 people solved
Apr 8, 2026
Optiver logo
Optiver
Hard
Software EngineerIntern

Optimize flight and cargo bookings for profit

OptiCargo: make the booking algorithm profitable You are given two streams/lists: - Flights you may attempt to book. Each flight has: - flight_id ...

Coding & Algorithms
150
0
1206 people solved
Dec 5, 2025
Anthropic logo
Anthropic
Medium
Software Engineer Locked

Design an IPv4 Address Iterator

This question evaluates a candidate's ability to represent and iterate IPv4 addresses, covering parsing, numeric arithmetic with carry between octets,...

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

Calculate Circular Route Query Distance

You are given a circular route with n stops numbered 0 to n - 1. The array distances has length n, where distances[i] is the clockwise distance from s...

Coding & Algorithms
0
0
10 people solved
Apr 6, 2026
Databricks logo
Databricks
Hard
Software Engineer Locked

Implement an Alternating Tic-Tac-Toe Game

This question evaluates a candidate's ability to implement state management, alternating turn logic, input validation, board representation, game outc...

Coding & Algorithms
2
0
16 people solved
May 30, 2026
Amazon logo
Amazon
Medium
Software EngineerSenior+ Locked

Implement Event Filtering and Queue Routing

This question evaluates parsing and evaluation of domain-specific filter expressions, JSON traversal and type-aware comparisons, boolean logic handlin...

Coding & Algorithms
2
0
16 people solved
May 30, 2026
Google logo
Google
Medium
Software Engineer Locked

Implement Employee Management and Expression Evaluation

This question evaluates competency in designing and maintaining hierarchical data structures and in parsing and evaluating nested function-style arith...

Coding & Algorithms
2
1
30 people solved
May 30, 2026
Snapchat logo
Snapchat
Medium
Software Engineer Locked

Find Maximum Island Perimeter

This question evaluates grid traversal and connected-component analysis skills, focusing on reasoning about perimeters and boundary conditions in bina...

Coding & Algorithms
2
0
37 people solved
Apr 5, 2026
Google logo
Google
Medium
Software Engineer Locked

Find Earliest Fully Connected Time

This question evaluates a candidate's understanding of dynamic graph connectivity, time-ordered event processing, and state maintenance in graphs, inc...

Coding & Algorithms
33
1
446 people solved
Apr 5, 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