Practice real interview problems from Square
| Status | Title | Solution | Practice | Difficulty | Companies | Topics |
|---|---|---|---|---|---|---|
| 64. Minimum Path Sum | Solution | Solve | Medium | Amazon+8 | ||
| 68. Text Justification | Solution | Solve | Hard | Adobe+25 | ||
| 200. Number of Islands | Solution | Solve | Medium | Adobe+40 | ||
| 353. Design Snake Game | Solution | Solve | Medium | Amazon+6 | ||
| 490. The Maze | Solution | Solve | Medium | Amazon+6 | ||
| 573. Squirrel Simulation | Solution | Solve | Medium | Square | ||
| 699. Falling Squares | Solution | Solve | Hard | Square+1 | ||
| 804. Unique Morse Code Words | Solution | Solve | Easy | Square | ||
| 815. Bus Routes | Solution | Solve | Hard | Amazon+7 | ||
| 859. Buddy Strings | Solution | Solve | Easy | DoorDash+4 | ||
| 969. Pancake Sorting | Solution | Solve | Medium | Amazon+1 | ||
| 999. Available Captures for Rook | Solution | Solve | Easy | Square | ||
| 1366. Rank Teams by Votes | Solution | Solve | Medium | Atlassian+3 | ||
| 1814. Count Nice Pairs in an Array | Solution | Solve | Medium | Navi+2 | ||
| 2069. Walking Robot Simulation II | Solution | Solve | Medium | Square | ||
| 2296. Design a Text Editor | Solution | Solve | Hard | Amazon+4 | ||
| 2768. Number of Black Blocks | Solution | Solve | Medium | Square+1 |
Square (now part of Block) is known for building highly reliable financial infrastructure used by millions of businesses. Because their products handle payments, banking, and commerce at scale, Squareβs engineering interviews focus heavily on writing clean, reliable code and reasoning about real-world data problems.
The Square coding interview typically evaluates how well candidates solve practical algorithmic problems rather than obscure puzzles. Interviewers want to see strong fundamentals in data structures, the ability to reason about edge cases, and code that is readable and production-ready. Many problems reflect real backend scenarios such as transaction processing, event streams, and efficient data lookups.
Across real Square interviews, candidates commonly encounter:
The difficulty distribution tends to mirror practical engineering work: most questions fall into the easy-to-medium range, but interviewers expect very clean implementations and thoughtful discussion of trade-offs. Strong communication during problem solving is often just as important as arriving at the final solution.
This page compiles 17 real Square interview questions reported by candidates. Each problem is categorized by difficulty and includes solutions in Python, Java, and C++. Practicing these patterns on FleetCode helps you quickly recognize the types of problems Square engineers like to ask and develop the structured approach needed to succeed during phone screens and onsite interviews.
Preparing for a Square coding interview requires a mix of strong DSA fundamentals and clear communication. The company tends to prioritize practical coding ability and thoughtful system reasoning rather than purely theoretical puzzles.
Typical Square interview process:
Common DSA topics asked at Square:
Unlike some companies that focus heavily on extremely hard problems, Square interviewers often care more about code quality and reasoning. Expect follow-up questions like improving time complexity, handling large datasets, or discussing how the code would work in a production system.
Common mistakes candidates make:
Preparation strategy:
Most candidates can prepare effectively for Square in 4β6 weeks with consistent daily practice. Working through the 17 curated Square questions on FleetCode will help you identify recurring patterns and build the confidence needed for the real interview.