Block Interview Questions — 14 DSA Problems
12 problems with full solutions in Python, Java, C++, JavaScript, Go, Rust.
Most frequently asked Block LeetCode questions for software engineering interviews.
- Rotating the Box (MEDIUM) — Array, Two Pointers, Matrix
- Available Captures for Rook (EASY) — Array, Matrix, Simulation
- Squirrel Simulation (MEDIUM) — Array, Math
- Walking Robot Simulation II (MEDIUM) — Design, Simulation
- Word Break (MEDIUM) — Array, Hash Table, String, Dynamic Programming, Trie, Memoization
- Falling Squares (HARD) — Array, Segment Tree, Ordered Set
- Number of Black Blocks (MEDIUM) — Array, Hash Table, Enumeration
- Count Nice Pairs in an Array (MEDIUM) — Array, Hash Table, Math, Counting
- Pancake Sorting (MEDIUM) — Array, Two Pointers, Greedy, Sorting
- Design a Text Editor (HARD) — Linked List, String, Stack, Design, Simulation, Doubly-Linked List
- Implement Trie (Prefix Tree) (MEDIUM) — Hash Table, String, Design, Trie
- Integer to English Words (HARD) — Math, String, Recursion
- The Maze (MEDIUM) — Array, Depth-First Search, Breadth-First Search, Matrix
- Word Search II (HARD) — Array, String, Backtracking, Trie, Matrix
B
Block
14 questions tracked12 with solutions
Frequency scoreSorted highest → lowest frequency✓ Our Solution = we have a detailed walkthrough
Showing 14 of 14 questions
3MediumSquirrel Simulation
ArrayMath
5ArrayHash TableStringDynamic Programming+2
6ArraySegment TreeOrdered Set
7ArrayHash TableEnumeration
8ArrayHash TableMathCounting
9ArrayTwo PointersGreedySorting
10Linked ListStringStackDesign+2
11Hash TableStringDesignTrie
13MediumThe Maze
ArrayDepth-First SearchBreadth-First SearchMatrix
14ArrayStringBacktrackingTrie+1