Meta Software Engineer Coding & Algorithms Interview Questions

Practice 218 real Coding & Algorithms interview questions for Software Engineer roles at Meta.

218 Questions 1 Company07.06.2026
Showing 20 results
Role
Meta logo
Meta
Medium
Software Engineer

Validate word abbreviation and reconcile two abbreviations

Validate word abbreviation and reconcile two abbreviations Implement a function isValidAbbreviation(word: string, abbr: string) that returns true if a...

Coding & Algorithms
3
0
35 people solved
Jul 15, 2025
Meta logo
Meta
Medium
Software EngineerSenior+

Choose the Cheapest Round Trip

Choose the Cheapest Round Trip You are given two arrays of equal length. departure[i] is the cost of departing on day i, and return_cost[j] is the cos...

Coding & Algorithms
1
1
17 people solved
Jul 6, 2026
Meta logo
Meta
Medium
Software Engineer AI Locked

Solve a Key-Door Corridor Maze

This question evaluates graph search and state-space reasoning by requiring shortest-path computation in a constrained one-dimensional maze with colle...

Coding & Algorithms
2
0
33 people solved
May 14, 2026
Meta logo
Meta
Medium
Software Engineer

Solve Array Merge and Parentheses Cleanup

You are asked to solve two coding problems. Problem 1: Merge Three Sorted Arrays Given three integer arrays, each sorted in nondecreasing order, merge...

Coding & Algorithms
1
0
13 people solved
Apr 29, 2026
Meta logo
Meta
Easy
Software Engineer

Solve Tree View and Triplet Sum

You are asked to solve two coding problems. Problem 1: Return the nodes visible from the right Given the root of a binary tree, return the values of t...

Coding & Algorithms
0
0
10 people solved
Apr 24, 2026
Meta logo
Meta
Medium
Software Engineer

Solve Array, Matrix, and Recommendation Problems

During an onsite coding interview, solve the following independent tasks. Problem 1: In-place unique prefix You are given a nondecreasing integer arra...

Coding & Algorithms
0
0
16 people solved
Apr 17, 2026
Meta logo
Meta
Hard
Software Engineer AI Locked

Implement a Timestamped Banking System

This question evaluates the ability to design and implement an in-memory, time-ordered stateful system handling event scheduling, transactional update...

Coding & Algorithms
3
0
35 people solved
Apr 8, 2026
Meta logo
Meta
Medium
Software EngineerSenior+ AI

Infer an Unknown Alphabet Order

You are given a list of words that is already sorted according to an unknown alphabet. Derive one valid ordering of the characters in that alphabet. R...

Coding & Algorithms
1
0
20 people solved
Apr 8, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Solve delimiter and CSV tasks

This question evaluates skills in string parsing and bracket balancing, CSV/file parsing and joining, computation of derived values, and sorting, emph...

Coding & Algorithms
6
0
52 people solved
Apr 5, 2026
Meta logo
Meta
Easy
Software Engineer Locked

Implement array parity and tree level views

This question evaluates proficiency in array frequency analysis and binary tree traversal, testing skills in data structures, correctness reasoning, a...

Coding & Algorithms
5
0
38 people solved
Mar 24, 2026
Meta logo
Meta
Medium
Software Engineer

Solve Four Online Assessment Problems

Complete the following four independent coding tasks. For each task, write a function that returns the requested result. 1. Find the best value index ...

Coding & Algorithms
10
0
84 people solved
Mar 19, 2026
Meta logo
Meta
Medium
Software Engineer AI Locked

Solve array, tree, and maze problems

This question evaluates algorithmic problem-solving across arrays, binary trees, and grid pathfinding, testing competencies in array traversal and vis...

Coding & Algorithms
5
0
53 people solved
Mar 12, 2026
Meta logo
Meta
Easy
Software Engineer

Implement an in-memory database with record locking

Implement an in-memory key–record database that supports basic CRUD on fields plus an exclusive lock per record. You are given a sequence of queries. ...

Coding & Algorithms
9
0
102 people solved
Mar 8, 2026
Meta logo
Meta
Medium
Software Engineer

Merge Two Lists of Non-Overlapping Intervals

You are given two lists of closed integer intervals, a and b. Each interval is represented as a pair [start, end] with start <= end, and it covers eve...

Coding & Algorithms
1
0
13 people solved
Mar 6, 2026
Meta logo
Meta
Medium
Software Engineer

Minimum Round-Trip Flight Cost

You are planning a round trip and want to spend as little as possible on flights. You are given two integer arrays of equal length n: - departure[i] —...

Coding & Algorithms
0
0
5 people solved
Mar 6, 2026
Meta logo
Meta
Medium
Software Engineer AI

Maximum Length of a Word Selection With All Unique Characters

You are given an array of lowercase strings words. Select a subset of these words (zero or more, chosen in any order) and concatenate them. The select...

Coding & Algorithms
0
0
7 people solved
Mar 6, 2026
Meta logo
Meta
Medium
Software Engineer

Construct a BST and read spiral order

The coding round reportedly included two algorithmic tasks: 1. Rebuild a binary search tree from a preorder sequence - You are given an array of di...

Coding & Algorithms
17
0
115 people solved
Mar 4, 2026
Meta logo
Meta
Hard
Software Engineer

Check and infer custom alphabet

You are working with an unknown language that uses a custom alphabetical order, such as ['a', 'd', 'c', 'b', ...]. Implement the following: 1. Check s...

Coding & Algorithms
4
1
67 people solved
Feb 28, 2026
Meta logo
Meta
Medium
Software Engineer

Find Kth Largest and Tree Ancestors

In a technical phone interview, the candidate was asked two coding problems in the same round: 1. K-th largest element in an array Given an unsor...

Coding & Algorithms
3
0
56 people solved
Feb 22, 2026
Meta logo
Meta
Medium
Software EngineerSenior+ AI

Solve Matrix, Tree, Nested, LCA, Maze Tasks

Answer the following independent coding tasks. For each task, implement a clean API, handle edge cases, and analyze time and space complexity. 1. Trav...

Coding & Algorithms
0
0
7 people solved
Feb 11, 2026

Explore more Meta Software Engineer interview questions

Real questions from candidate reports, grouped by topic.

Other Meta Software Engineer categories
Browse all