bitmask Interview Questions
14 interview questions in our bank cover bitmask, most of them Coding & Leetcode-style Questions. They average 3.6/5 difficulty — hard — and each one was reported by a candidate after a real interview. Companies known to ask about bitmask: Meta, Uber, MongoDB, Snowflake, Netflix, and 5 more.
Practice these on the problems board →Companies that ask about bitmask
Question mix
- Coding & Leetcode-style Questions14
Difficulty
- 3/5 — medium6
- 4/5 — hard7
- 5/5 — very hard1
Questions tagged bitmask
Minimum XOR Sum of Two Arrays
4/5Optimizing bitwise operations across paired elements is a sophisticated puzzle reported in MongoDB technical interviews. Given two arrays of equal length, the objective is to find a permutation of the second collection that minimizes the cumulative bitwise XOR sum when paired with the first. This challenge tests your grasp of bit manipulation techniques, combinatorial searching, and dynamic programming with bitmasking. Unlock the full problem statement and optimized model solution with a subscription.
Coding & Leetcode-style QuestionsMongoDBDAG Allow/Disallow Letter Propagation
3/5Encountered frequently in Snowflake interviews, this graph theory challenge requires you to compute cumulative permissions across a directed acyclic structure. Nodes possess additive and subtractive attributes that propagate downward to all descendants, with strict precedence rules governing conflicts. The problem tests your graph traversal strategies and state propagation logic over hierarchical data. The full problem and model solution require a subscription.
Coding & Leetcode-style QuestionsSnowflakeCount Palindrome-Formable Paths in a Tree
5/5As a challenging interview question reported from Uber, this task delves into advanced tree traversal and bit manipulation strategies. You must analyze hierarchical network paths to discover how many node pairs possess edge characters that can be rearranged to form a symmetric sequence. This problem evaluates deep recursive thinking and efficient state tracking. Access to the full problem description and the complete model solution requires a subscription.
Coding & Leetcode-style QuestionsUberCount Disjoint String Pairs
3/5In this Netflix interview question, you are asked to identify and count pairs of strings from a collection that do not share any common characters. The problem evaluates your bit manipulation skills and string processing efficiency for checking character overlap across large sets. To explore the full problem specifications and review the complete model solution, subscribe today.
Coding & Leetcode-style QuestionsNetflixMenu — Minimum Cost to Cover Wanted Items
3/5This Airbnb interview question explores combinatorial optimization and subset selection strategies to solve a budget-minimization puzzle. Given a catalog of overlapping product bundles with individual price tags, your objective is to select the most cost-effective combination of packages that entirely satisfies a specified collection of desired items. The challenge tests your proficiency with dynamic programming or search algorithms under constrained input sizes. Reviewing the complete problem context, constraints, and algorithmic solution demands an active subscription.
Coding & Leetcode-style QuestionsAirbnbShortest Maze Path with Keys and Doors
4/5Highlighted as a rigorous Meta interview problem, this graph traversal challenge asks you to find the shortest path through a grid laden with obstacles, locked barriers, and corresponding keys. Navigating successfully requires tracking your acquired inventory alongside your physical coordinates to ensure you can unlock pathways dynamically as you move. This tests advanced pathfinding algorithms, state-space graph modeling, and breadth-first search variations. Securing access to the complete puzzle breakdown and optimal solution requires a subscription.
Coding & Leetcode-style QuestionsMetaMaximum Product Path in a Complete Directed Graph
4/5Reported as a rigorous technical assessment for Two Sigma, this graph theory challenge asks you to determine a unique path across a complete directed structure that maximizes the total product of edge weights without revisiting nodes. It tests advanced algorithmic concepts, including logarithmic transformations to convert multiplicative objectives into additive ones, alongside dynamic programming with bitmasking. Access to the full problem text, complexity analysis, and verified model solution requires a subscription.
Coding & Leetcode-style QuestionsTwo SigmaAI Coding — Maximum Unique Character Subset
3/5Reported as a Meta interview challenge, this task revolves around selecting a collection of words that maximizes total character coverage while ensuring all chosen letters are completely unique. You must first debug an existing code snippet for edge cases before building a backtracking and bitmasking strategy to efficiently explore valid combinations across various dataset scales. This exercise tests your debugging instincts and combinatorial search optimization under constraints. The complete problem breakdown and verified model solution require a subscription to view.
Coding & Leetcode-style QuestionsMetaLongest Substring with Even Occurrences
3/5In this Deloitte coding question, you are tasked with identifying the longest contiguous substring within a given string where every distinct character present in that substring appears an even number of times. The input string consists solely of lowercase English letters. This problem challenges your ability to efficiently process strings, track character frequencies, and apply techniques like prefix sums or bitmasks to optimize the search for the desired substring. The full problem and model solution require a subscription.
Coding & Leetcode-style QuestionsDeloitteAI Coding: Maze Solver (BFS to Keys/Doors to Bombs)
4/5This Meta interview question is a comprehensive, multi-stage challenge focused on AI-enabled maze solving. Starting with debugging existing code, you'll progressively enhance a pathfinding algorithm. The problem evolves from basic traversal to incorporating complex elements like keys and doors, and eventually dealing with obstacles such as bombs. This tests your ability to apply graph traversal algorithms like BFS or DFS, manage intricate game states, and incrementally build a robust solution while identifying and fixing issues. It's a deep dive into algorithmic problem-solving. The full problem and model solution require a subscription.
Coding & Leetcode-style QuestionsMetaMaximum Length of Concatenated Unique-Character String
4/5In this engaging algorithmic problem reported by Meta, you are asked to find the longest possible text combination formed by selecting specific strings while avoiding any duplicate characters. The task examines your backtracking and combinatorial search techniques to efficiently evaluate subsets without overlapping letters. It is an excellent test of recursive problem-solving and optimization under constraints. Unlock the comprehensive problem details and optimal source code with a subscription.
Coding & Leetcode-style QuestionsMetaMax Subset of Two-Digit Numbers With No Shared Digit
4/5This Google coding interview question asks you to find the largest possible collection of two-digit numbers where no two selected elements share any common digits. The problem evaluates your combinatorial reasoning, graph modeling, or backtracking skills to efficiently filter and maximize valid subsets from a pool of numeric choices. Unlock the comprehensive problem description and optimal algorithmic solution by subscribing today.
Coding & Leetcode-style QuestionsGoogleWaste Reduction — Minimize Number of Groups
3/5This IMC Trading interview question tasks you with partitioning a collection of elements into the fewest possible containers without exceeding a specific capacity limit. The problem examines your algorithmic problem-solving skills, particularly your ability to tackle bin-packing optimization challenges using greedy strategies or dynamic programming. You must efficiently organize the items to minimize overall waste. Unlock the full problem details and optimized solution with an active subscription.
Coding & Leetcode-style QuestionsIMC TradingPalindrome Ancestor Path Queries
4/5In this reported Uber interview challenge, you are tasked with analyzing hierarchical tree structures to evaluate character arrangements along ancestral paths. The problem tests your proficiency with tree traversal, string frequency counting, and efficient querying of path properties without incurring performance bottlenecks. You will explore how multiset character frequencies dictate palindrome feasibility from any node up to the root. Sharpen your graph traversal and data structure optimization techniques with this engaging puzzle. The full problem and model solution require a subscription.
Coding & Leetcode-style QuestionsUber
Studied alongside
bitmask interview FAQ
- How many bitmask interview questions are there?
- 14 reported questions, mostly Coding & Leetcode-style Questions.
- Which companies ask bitmask questions?
- Meta (4), Uber (2), MongoDB (1), Snowflake (1), Netflix (1), Airbnb (1), Two Sigma (1), Deloitte (1).
- How hard are bitmask questions?
- They average 3.6 out of 5: 6 at 3/5, 7 at 4/5, 1 at 5/5.