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

Solve rotating-lock BFS with blockers

You are given a 4-digit lock starting at "0000". In one move, you may pick a single position and rotate it +1 or −1 with wrap-around (0→9 on −1, 9→0 o...

Coding & Algorithms
2
0
49 people solved
Jul 31, 2025
Meta logo
Meta
Medium
Software Engineer

Solve linked list, top-K, and string reduction

Solve linked list, top-K, and string reduction Solve the following algorithmic tasks: 1) Given a singly linked list, return the k-th node from the end...

Coding & Algorithms
5
0
39 people solved
Jul 31, 2025
Fidelity logo
Fidelity
Medium
Software Engineer

Describe Angular features

Describe Angular features What are the key features of Angular? Discuss modules, components, templates, dependency injection, change detection, RxJS o...

Coding & Algorithms
5
0
43 people solved
Jul 31, 2025
Fidelity logo
Fidelity
Medium
Software Engineer

Compare Spring and Spring Boot

Compare Spring and Spring Boot What are the differences between Spring Framework and Spring Boot? Compare configuration approaches, auto-configuration...

Coding & Algorithms
5
0
66 people solved
Jul 31, 2025
Fidelity logo
Fidelity
Medium
Software Engineer

Describe Java 8 features

Describe Java 8 features What are the key new features introduced in Java 8? Explain when and how you would use lambda expressions, the Stream API, Op...

Coding & Algorithms
5
0
44 people solved
Jul 31, 2025
Amazon logo
Amazon
Medium
Software Engineer

Design rolling-window top-K click tracker

Design rolling-window top-K click tracker You receive a high-volume stream of click events (timestamp in ms, url). Implement a data structure with two...

Coding & Algorithms
3
0
43 people solved
Jul 31, 2025
Duolingo logo
Duolingo
Medium
Software Engineer

Design an Animal Chess OOP simulation

Design and implement a simplified Animal Chess (Dou Shou Qi) game using object-oriented principles. Include: 1) Piece classes Elephant, Lion, Tiger, L...

Coding & Algorithms
9
0
67 people solved
Jul 31, 2025
Databricks logo
Databricks
Medium
Software Engineer

Design an IP filter using CIDR rules

Explain CIDR notation with a couple of concrete examples. Show how to convert a prefix like 192.168.0.0/16 into an inclusive 32-bit integer range and ...

Coding & Algorithms
34
0
258 people solved
Jul 31, 2025
Vanta logo
Vanta
Medium
Software Engineer

Design streaming test logger and queries

Implement a streaming logger and two query operations for test runs with globally strictly increasing timestamps. 1) Implement log(test_id, timestamp,...

Coding & Algorithms
17
0
344 people solved
Jul 31, 2025
xAI logo
xAI
Medium
Software Engineer

Design a Least Frequently Used (LFU) Cache with O(1) Operations

Design and implement a data structure for a least frequently used (LFU) cache. Implement a class LFUCache with the following operations: - LFUCache(in...

Coding & Algorithms
0
0
10 people solved
Jul 30, 2025
Ramp logo
Ramp
Medium
Software Engineer

Navigate maze via HTTP API

Question Implement a program that repeatedly calls a provided HTTP API which returns the next URL in a maze; continue following the URLs until reachin...

Coding & Algorithms
13
0
53 people solved
Jul 29, 2025
Roblox logo
Roblox
Medium
Software Engineer

Detect shuffle-mode sequence

Question Given a playlist of distinct songs and two player modes—Random (each next song chosen independently and uniformly at random, with replacement...

Coding & Algorithms
103
0
169 people solved
Jul 29, 2025
Harvey logo
Harvey
Medium
Software Engineer

Handle multi-source string matching and tagging

Question Given an LLM output string and a list of source strings, design an algorithm to count how many times each source appears in the output. Exten...

Coding & Algorithms
20
0
52 people solved
Jul 29, 2025
Pinterest logo
Pinterest
Medium
Software Engineer

Round numeric string values

Question Given a numeric string, implement rounding to the nearest integer (e.g., '3.5' → '4', '100.01' → '100'). Follow-up: round to the last signifi...

Coding & Algorithms
14
0
34 people solved
Jul 29, 2025
Meta logo
Meta
Medium
Software Engineer

Design LRU cache and pick k closest points

Design LRU cache and pick k closest points 1) Design a fixed-capacity in-memory cache that evicts the least recently used key when full. Support get(k...

Coding & Algorithms
6
0
61 people solved
Jul 29, 2025
Meta logo
Meta
Medium
Software Engineer

Compute product of array except self

Given an integer array nums, return an array out where out[i] equals the product of all elements in nums except nums[i]. Do it in O(n) time using cons...

Coding & Algorithms
2
0
24 people solved
Jul 29, 2025
TikTok logo
TikTok
Easy
Software Engineer Locked

Solve three classic coding problems

These tasks evaluate algorithmic problem-solving, data structure mastery, and implementation skills within the Coding & Algorithms domain, touching on...

Coding & Algorithms
4
0
38 people solved
Dec 24, 2025
Pinterest logo
Pinterest
Medium
Software Engineer

Find minimal time to serve customers

Find minimal time to serve customers You manage a bank with k tellers; teller i takes serviceTimes[i] minutes to serve one customer and works continuo...

Coding & Algorithms
5
0
91 people solved
Jul 28, 2025
OpenAI logo
OpenAI
Medium
Software Engineer

Implement an expiring GPU credits ledger

Implement an expiring GPU credits ledger for multiple users with three operations: 1) add_credit(user_id, amount, expiry_time): add a lot of credits t...

Coding & Algorithms
51
0
424 people solved
Jul 27, 2025
Confluent logo
Confluent
Medium
Software Engineer

Solve constrained monster traversal

Solve constrained monster traversal You are given a directed graph with n rooms labeled 0..n-1; each room i contains a monster with health hp[i] ≥ 0. ...

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