Block (Square, Cash App) interview questions

Software engineer

Coding

  1. Two Sum (LeetCode 1)
  2. Validate Binary Search Tree (LeetCode 98)
  3. Split an array of 0s and 1s into three parts with the same binary value
  4. Build an app that splits a bill among friends
  5. Flag a user who exceeds a spending threshold within a rolling time window over a stream of payments
  6. Add bank account verification by micro-deposits to an existing codebase
  7. Add an API rate limiter to an existing codebase
  8. Generate Fibonacci numbers up to a limit in linear time and constant space
  9. Find the most common character across a list of strings
  10. Build a simple text editor with insert, delete and cursor movement
  11. Find the shortest driving route between two points on a map
  12. Flag fraudulent transactions from amount, time, location and cardholder history
  13. Implement queries over a network of transactions
  14. List the two-by-two blocks that cover each black cell in a grid
  15. Build a BIN database that weighs how much to trust each source
  16. Control the order in which threads run

System design

  1. Design a point-of-sale system that keeps working offline and syncs when the register reconnects
  2. Design a scalable transaction processing pipeline
  3. Design a hotel booking system
  4. Design a distributed A/B testing framework
  5. Design consistent hashing for a globally distributed key-value store
  6. Design a low-latency, high-volume messaging system for a social platform
  7. Design a fault-tolerant distributed file storage system
  8. Design a real-time network traffic monitoring and analysis system
  9. Design a parking lot system

What Block (Square, Cash App) looks for

  • Economic empowerment — Block's mission is to give people and sellers more access to the economy, and interviewers look for candidates who care about it.
  • Customer empathy — Understand the merchants, consumers and hardware users you build for, and show the impact of your work on them.

Behavioral questions

  1. Why do you want to work at Square?
  2. Why should we hire you?
  3. Tell me about a time you built something that directly helped a user.
  4. How do you think about accessibility in your code?
  5. How did you handle a difficult teammate?
  6. How did you meet a tight deadline?
  7. How did you explain a technical concept to a non-technical stakeholder?
  8. Describe a difficult decision that affected your team or project.
  9. Teach me something technical, or walk me through a past project in depth.

The loop

  1. Recruiter call: A short call on your background, why Block, and which business unit you want, such as Square or Cash App.
  2. Technical phone screen: About an hour of live coding in CoderPad, often a practical data-processing problem rather than a puzzle.
  3. Virtual onsite: Four to five hours, sometimes over two days: pair programming or coding rounds, system design, a behavioral or values round and a hiring manager conversation; very senior candidates add a leadership round.
  4. Hiring decision and team matching: The hiring manager presents your case to a small hiring panel, then you are matched to a team.

Tips

  • Expect practical, real-world problems rather than LeetCode puzzles, and practice with an IDE and search at hand, since pair programming allows them.
  • In multi-part problems, get the first part working cleanly before moving on, and explain why you picked each data structure.
  • Know fintech basics such as idempotency, card networks and settlement, and handle duplicates and offline sync in design rounds.
  • Questions may grow harder as the session goes on, so keep your code easy to extend.

Sources

  1. Block's Interview Process — TechPrep
  2. Block/Square's Interview Process & Questions — interviewing.io
  3. Square Software Engineer Interview Guide — Prepfully
  4. Square Software Engineer Coding & Algorithms Questions — PracHub

Other companies

Start free on Cariara · Coding problems · System design studio