Meta Coding & Algorithms Interview Questions

Preparing for Meta Coding & Algorithms interview questions requires focusing on algorithmic problem solving, writing production-minded code, and communicating tradeoffs under time

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

Design a bank system with scheduled transfers

Bank System (OOD): Accounts, Transfers, Scheduling, Top Spending, Merge Design an in-memory banking system that supports: - account creation - deposit...

Coding & Algorithms
2
0
41 people solved
Feb 11, 2026
Meta logo
Meta
Medium
Software Engineer

Design an in-memory cloud file system

In-Memory Cloud File System (OOD) Design an in-memory cloud file system that supports files owned by users with storage quotas. Data model / rules - E...

Coding & Algorithms
5
0
43 people solved
Feb 11, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Solve three array/string/graph coding tasks

This set of three coding tasks evaluates proficiency in fundamental data structures and algorithms, covering multi-way array merging, custom character...

Coding & Algorithms
4
0
59 people solved
Feb 11, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Solve maze reachability and two follow-ups

This set of tasks evaluates graph and state-space search with constrained movement (maze rolling ball), tree algorithms and recursion for computing di...

Coding & Algorithms
12
0
96 people solved
Feb 7, 2026
Meta logo
Meta
Medium
Software Engineer

Solve tree view and parentheses cleanup

Solve the following two algorithm problems. 1. Right-side view of a binary tree Given the root of a binary tree, return the values of the nodes that w...

Coding & Algorithms
6
0
43 people solved
Feb 1, 2026
Meta logo
Meta
Hard
Machine Learning Engineer

Solve Three Algorithmic Problems

Three coding questions were mentioned: 1. Second-largest distinct permutation Given an array of integers that may contain duplicates, consider all ...

Coding & Algorithms
5
0
40 people solved
Jan 30, 2026
Meta logo
Meta
Medium
Machine Learning EngineerSenior+ Locked

Find two numbers summing to target without hashmap

This question evaluates array manipulation, index-tracking, and algorithmic problem-solving skills, with emphasis on time and space complexity trade-o...

Coding & Algorithms
4
0
73 people solved
Jan 22, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Maximize score in 15-sum card game

This question evaluates algorithmic problem-solving in combinatorial search, state-space optimization, and memoization by asking for the maximum achie...

Coding & Algorithms
9
0
109 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
Meta logo
Meta
Medium
Software Engineer Locked

Implement cd and merge intervals

This question evaluates proficiency in filesystem path normalization (string parsing, tokenization, and edge-case handling) and interval-merging algor...

Coding & Algorithms
3
0
57 people solved
Jan 16, 2026
Meta logo
Meta
Hard
Software Engineer Locked

Count three-digit numbers with distinct digits

This question evaluates a candidate's understanding of digit manipulation, basic combinatorics, and implementation of value-range constraints in codin...

Coding & Algorithms
2
0
42 people solved
Jan 6, 2026
Meta logo
Meta
Medium
Machine Learning Engineer Locked

Implement solutions to several coding tasks

This multipart prompt evaluates algorithmic problem-solving and data-structure design skills across several areas: finding a minimum in a rotated sort...

Coding & Algorithms
3
0
62 people solved
Jan 5, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Solve counting and frequency coding tasks

This question evaluates algorithmic skills in counting, frequency analysis, constraint-based pair counting, and stream-oriented tokenization and ranki...

Coding & Algorithms
3
0
43 people solved
Jan 5, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Implement power, reduce string, parse tree, debug maze

This multi-part question evaluates numerical algorithms (fast exponentiation), string-processing and reduction logic, recursive parsing and tree const...

Coding & Algorithms
3
0
49 people solved
Jan 1, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Maximize Letters from Disjoint Words

This question evaluates understanding of combinatorial selection, set-based constraints, and efficient representation and enumeration of candidate sub...

Coding & Algorithms
2
0
23 people solved
Dec 30, 2025
Meta logo
Meta
Medium
Software Engineer

Answer four string/array/battery coding questions

You are given four independent coding questions. Problem A — Uppercase vs lowercase count difference Given a string s (ASCII), count how many characte...

Coding & Algorithms
4
0
46 people solved
Dec 16, 2025
Meta logo
Meta
Medium
Software Engineer

Validate near-palindrome and course prerequisite feasibility

Coding round (40 minutes): two problems You do not need to run code, but you should: - Explain your approach clearly. - Walk through the logic on exam...

Coding & Algorithms
2
0
30 people solved
Dec 15, 2025
Meta logo
Meta
Medium
Machine Learning Engineer

Implement weighted random city and sparse dot product

Question 1: Weighted random city picker You are given a mapping from city → population (all populations are positive integers). Implement a random gen...

Coding & Algorithms
11
0
80 people solved
Dec 15, 2025
Meta logo
Meta
Medium
Machine Learning Engineer

Solve shipping capacity and expression insertion

Problem A: Minimum shipping capacity You are given an array weights where weights[i] is the weight of the i-th package. Packages must be shipped in or...

Coding & Algorithms
10
0
92 people solved
Dec 15, 2025
Meta logo
Meta
Medium
Software Engineer

Convert 32-bit integer to hexadecimal

Problem Given a 32-bit signed integer num, return its hexadecimal representation as a string. Requirements - Use lowercase letters a-f. - Do not inclu...

Coding & Algorithms
1
0
25 people solved
Dec 15, 2025

Frequently Asked Questions

How difficult are Meta Coding & Algorithms interview questions?
Meta Coding & Algorithms questions are typically rated medium to hard and often grow tougher as you progress through rounds. Early screens usually aim to confirm correct problem solving and implementation ability, while onsite interviews expect robust algorithmic thinking, time and space optimality, and clear communication under pressure. Interviewers evaluate how you approach unfamiliar problems, move from brute force to optimized solutions, handle edge cases, and articulate complexity trade‑offs. Preparation should target speed, pattern recognition, and producing clean, testable code that can be reasoned about aloud during the interview.
Where in Meta's interview process do Coding & Algorithms questions appear, and how are they evaluated?
Coding and algorithms questions commonly appear in phone screens, technical online assessments, and the core onsite/virtual loop; they may be mixed with product or design conversations depending on role. Evaluations focus on problem decomposition, correctness, algorithmic efficiency, and code quality. Interviewers listen for clear problem statements, thoughtful trade‑offs, and how you validate solutions against edge cases and constraints. For more senior roles, emphasis shifts to selecting the right abstractions and reasoning about large inputs and performance. Communication, testing, and the ability to iterate from a simple approach to an optimized one are all part of the score.
How should I plan my interview preparation timeline for Meta Coding & Algorithms roles?
A disciplined timeline usually spans six to twelve weeks depending on experience and starting point. Begin with two to three weeks of fundamentals: solidify data structures, complexity analysis, and core algorithms. Follow with four to six weeks of focused practice on medium and hard problems, rotating topics and timing yourself, while documenting patterns and common mistakes. In the final two weeks, emphasize mock interviews, timed coding rounds, and refining communication and testing habits. Regularly review incorrect solutions to identify recurring gaps, and incorporate at least a few live mock interviews to habituate speaking through your thought process.
What key subtopics within Coding & Algorithms should I focus on for Meta interviews?
Concentrate on arrays and strings, trees and graphs (including BFS/DFS), hash maps, two‑pointer and sliding window techniques, recursion and backtracking, dynamic programming, and sorting/search algorithms. Also prepare on complexity analysis, space‑time tradeoffs, handling NULLs and edge cases, and writing robust test cases. For higher levels, emphasize understanding of algorithmic scalability, memory layout implications, and performance tuning. Equally important are clear coding style, readable variable names, and the ability to explain why a chosen data structure or algorithm best fits the constraints of the problem.
What standout tips, common pitfalls, and final advice for Coding & Algorithms interviews at Meta?
Start each problem by asking clarifying questions and describing a brute‑force approach before optimizing. Verbally outline your plan, write clean code with basic tests, and explain complexity at the end. Common pitfalls include diving into coding without validating edge cases, ignoring constraints, and failing to communicate assumptions. Avoid overfitting to memorized problems; instead, internalize patterns so you can adapt. Use mock interviews to sharpen pacing and feedback. Finally, remain calm if stuck: state hypotheses, try small examples, and iterate—interviewers value structured thinking and recoveries as much as perfect first attempts.

Explore more Meta Coding & Algorithms interview questions

Real questions from candidate reports, grouped by role, topic and company.

By role
Other categories at Meta
Coding & Algorithms questions at other companies
Browse all