Square interview prep

See what Square asks, then get a plan for it

Real Square frontend questions and candidate reports, turned into a week-by-week prep plan.

~2 min · free preview

Company prep

Square Front End Interview Guide

The Square frontend interview process, real questions, and candidate reports.

Questions
166
Reports
Solved
—

Verified by FrontendLead

Practice questions166

From the community

Interview reports

Square frontend interviews are live pair-programming sessions: build small interactive UIs from scratch, debug an in-house framework, and design a consumer product frontend.

Square is part of Block, the company behind Cash App and Afterpay, and its engineering interviews run on a shared pair-programming style. This guide is built from 6 Square interview reports shared by FrontendLead members between January 2024 and July 2025, cross-checked against Square’s official careers page and its engineering blog’s advice on pairing interviews. You’ll learn the round structure, the question types candidates got (exact prompts are in the members-only sections), and a focused prep plan.

The biggest tip from member reports: get to working JavaScript before you polish anything. Two candidates who spent too long on layout or CSS ran out of time for the logic and were rejected. Square’s own interviewers say the same thing: optimize for a working solution, then improve it.

By Shivam Bhalla · Updated

01

Square frontend interview at a glance

Timeline
Varies; members heard back 1 to 3 days after each round
Process
Recruiter call, technical phone screen, virtual onsite
Format
Virtual, by phone or Google Meet, per Square’s careers page
Phone screen
About 60 minutes of live coding, roughly 45 of them spent coding
Onsite
Pair-programming UI build, framework debugging task, algorithm or parser coding, frontend system design, projects and manager
Coding language
JavaScript; use the tools you’re most comfortable with
Signature topic
Small interactive UIs built from scratch
System design
The same product-design prompt, reported three times
Role shape
A recruiter told one member most Square engineers are full-stack with a frontend or backend focus
02

Square frontend interview process

Square’s careers page says engineering roles use a pair-programming task to evaluate technical ability, and that your recruiter guides you through each step. Member reports show the stages below. With only six reports, treat round counts as typical rather than fixed, and confirm with your recruiter.

  1. 1

    Recruiter call

    About 30 minutes

    Square’s careers page describes this as a conversation about your past work, why you’re interested in Square, and life at Square. Members described recruiters as kind, organized, and willing to answer every question. Use this call to ask about the onsite format and whether the role leans frontend or full-stack.

  2. 2

    Technical phone screen

    About 60 minutes

    One senior frontend member described the split: 5 minutes of introductions, 45 minutes of coding in JavaScript, and 10 minutes for your questions. Prompts members reported include a class-based design problem, an algorithm visualization, a CodePen layout with click interactions, and a LeetCode-medium sorting problem with follow-up changes. The problem grows in steps, so expect follow-ups until time runs out.

  3. 3

    Virtual onsite

    About 4 to 5 rounds

    The onsite mixes practical frontend work with general coding. Members reported a pair-programming UI build, a debugging and feature task inside Square’s own frontend framework, a second coding round such as a parsing problem, frontend system design for a consumer product, a past-project discussion, and a hiring manager interview.

  4. 4

    Decision

    1 to 3 days per round

    Members heard back quickly. One was rejected the day after a phone screen; another got a decision three days after an extra round with a frontend manager. One senior member who completed the 2025 onsite received an offer.

03

How Square’s pair-programming interviews work

Square’s engineering blog published its interviewers’ collective advice for the pairing interview. It is unusually open about what helps, and it matches what members experienced.

Square’s advice What it means in a frontend round
Optimize for done Get a working, interactive version on screen before styling or refactoring
Compile early, compile often Run the page after every small change instead of writing everything first
Use your normal resources Looking up MDN or a CSS property is fine and even encouraged
Use tools you’re comfortable with Pick vanilla JavaScript or a framework you’re fast in
Test your solution Click through edge cases out loud: double clicks, fast clicks, empty states
Call out trade-offs Say “I’m hardcoding this for now and would extract it later”
Don’t overdo best practices Skip heavy test suites and premature abstraction to impress

The same post says interviewers love learning something from candidates and save time at the end for your questions. Ask real ones about the team’s stack or how they ship.

The in-house framework task

Two members got a task built on a small framework Square wrote itself. One described it as similar to Vue, with separate template, style, and JavaScript files. You read existing features, figure out how the framework wires data to the view, then fix bugs and add features. A senior member got an existing small app in this framework with a list of requirements to debug and extend.

You can’t study the framework in advance, so practice the skill instead: open an unfamiliar codebase, trace one feature from click to render, and make a small change. One member’s practical tip: use a large monitor, because switching between three files on a 13-inch laptop slowed them down.

04

Coding rounds: questions Square candidates were asked

These prompts come from member reports. Most are small, interactive builds where time management matters more than difficulty.

Memory card matching game

Senior, onsite (reported twice)

Build a game from scratch: click a card to reveal its type, click a second card, keep both face up if they match, and flip both back if they don’t. Handle clicks during the flip-back delay, clicking the same card twice, and a win state.

Practice: Flip Pairs Game.

Debug and extend a to-do app

Senior, onsite

Inside Square’s own framework, fix bugs in an existing to-do app and add features from a requirements list. Read before you write: find where state lives and how the template reads it.

Practice: To-do App.

Visualize quicksort

Senior, phone screen

Implement quicksort in JavaScript and show its steps visually. Keep the algorithm separate from rendering: record each comparison and swap as a list of steps, then animate the steps with a timer.

Practice: Quicksort.

Class with several methods

Senior, phone screen

A CodeSignal problem in JavaScript that used a class with several methods, then added follow-ups. The member finished three and only discussed the fourth, and was rejected the next day. Review class syntax and keep each method small so new requirements slot in.

Practice: Event Emitter.

Write an HTML parser

Senior, onsite

Parse an HTML string into a tree. Use a stack: push on an opening tag, pop on a matching closing tag, attach text nodes to the current parent, and decide what to do with self-closing or mismatched tags.

Practice: Parser for Rich Text Editor.

Overlay animation on click

Frontend, first round

Recreate a design in CodePen and show an overlay with an animation when the user clicks. The member built the full layout first and ran out of time before writing any JavaScript. Stub the layout, wire the click, then style.

Practice: Focus-Trapped Dialog.

Click letters into a target box

Frontend, manager round

An empty box at the top and a row of letters below. Clicking a letter moves it into the box. The member reached about 90% and finished with a CSS shortcut when time ran low. Keep two arrays in state and derive both rows from them.

Practice: Lineup Transfer List.

Pancake sorting

Senior software engineer, phone screen

A LeetCode-medium sort using only prefix reversals, followed by additions and modifications. Expect this on generalist or full-stack loops more than frontend-specific ones.

05

How to build Square’s memory card game in an interview

The memory game is the clearest signal of what Square wants: a small, complete, interactive app in under an hour. The logic is short, but three bugs catch most people:

  • A third click during the flip-back delay. Ignore clicks while two cards are face up.
  • Clicking the same card twice. Without a check, a card matches itself.
  • A leaked timer. Clear the flip-back timeout on unmount or restart.

Model the board as data and render it. This hook covers all three cases:

function shuffle(items) {
  const result = [...items];
  for (let i = result.length - 1; i > 0; i--) {
    const j = Math.floor(Math.random() * (i + 1));
    [result[i], result[j]] = [result[j], result[i]];
  }
  return result;
}
function useMemoryGame(types) {
  const [cards, setCards] = useState(() =>
    shuffle([...types, ...types]).map((type, id) => ({ id, type, matched: false }))
  );
  const [open, setOpen] = useState([]);
  const timerRef = useRef(null);
  useEffect(() => () => clearTimeout(timerRef.current), []);
  const flip = (id) => {
    if (open.length === 2 || open.includes(id) || cards[id].matched) return;
    const next = [...open, id];
    setOpen(next);
    if (next.length < 2) return;
    const [a, b] = next.map((i) => cards[i]);
    if (a.type === b.type) {
      setCards((prev) => prev.map((c) => (c.type === a.type ? { ...c, matched: true } : c)));
      setOpen([]);
    } else {
      timerRef.current = setTimeout(() => setOpen([]), 800);
    }
  };
  const won = cards.every((c) => c.matched);
  return { cards, open, flip, won };
}

A card is face up if it’s matched or its id is in open. Everything else is derived, so the render stays simple. Likely follow-ups: a move counter, a timer, a restart button, a configurable grid size, and keyboard support with buttons instead of clickable divs.

“I’ll get the click-and-match logic working with plain boxes first, then add the flip animation once the game is playable.”

06

Square frontend system design questions

Every frontend system design prompt in member reports was the same: a hotel booking or reservation product. One full-stack candidate said their interviewer approached it very differently than they did, so clarify scope and the evaluation focus at the start.

Hotel booking frontend

Senior, onsite (reported three times)

Design the frontend of a hotel reservation site: search by location and dates, a results list with filters, a room detail page, and checkout. Strong answers cover URL-driven search state, caching results between pages, showing availability that may be stale, holding a room during checkout, and preventing double bookings on retry.

Study: Design Airbnb and Design Ticketmaster.

Booking calendar and date picker

Common follow-up

Zoom into the date range picker: blocked dates, minimum stays, time zones, and keyboard access. This is a natural place for an interviewer to test component API design.

Study: Design Google Flights.

Payment and checkout flow

Likely topic

Square builds payment products, so expect checkout to come up in a booking design. Cover form validation, idempotent submission, card field security, and clear error recovery.

Study: Design Stripe Checkout.

07

Behavioral, projects, and the manager round at Square

Square’s careers page says its interviews look for candidates inspired by its purpose of economic empowerment, and asks you to come ready to discuss specific past projects, how you collaborate, and your career goals. Members reported a past-project discussion and a separate interview with the future manager in their onsites.

  • Pick one project you can explain end to end: the problem, your design, what broke, and the result.
  • Prepare a story about working with backend engineers or owning both sides of a feature, since many Square engineers work full-stack.
  • Tie “Why Square?” to sellers: small businesses using Square to take payments, run their business, and get paid.
  • Bring two thoughtful questions. Square’s interviewers say great questions show curiosity and critical thinking.
08

How to prepare for the Square frontend interview

Square’s rounds reward speed on small builds. Practice under a timer, out loud, and always reach a working version before you style.

Days Focus Practice
1 to 2 Small games from scratch Flip Pairs Game, timed at 45 minutes
3 Click and transfer UIs Lineup Transfer List and Focus-Trapped Dialog
4 Reading unfamiliar code Clone a small Vue or Svelte demo, trace one feature, then extend To-do App
5 to 6 Algorithms and parsing Quicksort and Parser for Rich Text Editor
7 to 8 System design Design Airbnb and Design Stripe Checkout
9 to 10 Projects and mock One project story, then a 60-minute mock with a friend adding requirements every 15 minutes

For a longer runway, the study plan builder turns your interview date into a daily plan, and the coding questions list covers more app-design practice.

09

Square frontend interview FAQ

How long is the Square frontend interview process?

It varies by team. Members received decisions within one to three days of individual rounds. Ask your recruiter for the full timeline after the first call.

Does Square ask LeetCode questions for frontend roles?

Sometimes. Frontend loops focus on practical builds, but members also reported sorting and parsing problems. Square’s own interviewers say many pairing problems are algorithm-focused, so practice both.

Can I use Google during a Square interview?

Square’s engineering blog says using resources like Google and Stack Overflow is acceptable and even encouraged in pairing interviews. Confirm the rules for AI tools with your recruiter.

Do I need React for the Square frontend interview?

Not necessarily. Square encourages you to use the tools you’re most comfortable with, and some rounds use CodePen or Square’s own framework. Be fluent in vanilla JavaScript and DOM events either way.

What system design question does Square ask frontend engineers?

Every member report with frontend system design described the same consumer product prompt; it is in the members-only section above. Prepare search, data freshness, and checkout flows.

Is Square the same company as Block?

Square is part of Block, alongside Cash App and Afterpay. You apply to a Square role and interview with Square engineers, using the pair-programming format described on Square’s careers page.