Square Coding Interview Questions
We track 11 coding questions asked at Square, tagged with the algorithms and concepts they test. The most common: Array, Hash Table, Dynamic Programming, Matrix, Simulation.
Browse all 11 Square questions →Concept mix
Each question's weight is split evenly across its concepts, so the shares sum to 100%.
- Array25.9%
- Simulation9.3%
- Hash Table8.3%
- Matrix7.4%
- Two Pointers6.5%
- Dynamic Programming5.6%
- Design5.6%
- Binary Search3.7%
- Enumeration3.7%
- Ordered Set3.7%
- Other (8)20.6%
How many questions involve each concept
Share of all 11 tracked Square questions that touch each concept. Questions usually involve several, so these overlap.
- Array72.7%
- Hash Table27.3%
- Dynamic Programming18.2%
- Matrix18.2%
- Simulation18.2%
- Two Pointers18.2%
- Binary Search9.1%
- Counting9.1%
- Design9.1%
- Enumeration9.1%
- Greedy9.1%
- Math9.1%
Where Square differs from the average company
Concept weight at Square relative to the average across all companies we track. Green means Square leans on it harder than most.
- Simulation5.5×
- Matrix3.2×
- Two Pointers1.8×
- Array1.3×
Square specialties
Concepts that show up at Square but are rarely asked elsewhere. They are easy to get blindsided by.
Difficulty mix
Level split of the 11 tracked Square questions.
- Junior9% (1)
- Mid/Senior82% (9)
- Staff9% (1)
Every concept in Square interviews
| Concept | Questions | % of questions | Share of mix |
|---|---|---|---|
| Array | 8 | 72.7% | 25.9% |
| Hash Table | 3 | 27.3% | 8.3% |
| Dynamic Programming | 2 | 18.2% | 5.6% |
| Matrix | 2 | 18.2% | 7.4% |
| Simulation | 2 | 18.2% | 9.3% |
| Two Pointers | 2 | 18.2% | 6.5% |
| Binary Search | 1 | 9.1% | 3.7% |
| Counting | 1 | 9.1% | 2.8% |
| Design | 1 | 9.1% | 5.6% |
| Enumeration | 1 | 9.1% | 3.7% |
| Greedy | 1 | 9.1% | 2.8% |
| Math | 1 | 9.1% | 2.8% |
| Memoization | 1 | 9.1% | 1.9% |
| Ordered Set | 1 | 9.1% | 3.7% |
| Segment Tree | 1 | 9.1% | 3.7% |
| Sorting | 1 | 9.1% | 2.8% |
| String | 1 | 9.1% | 1.9% |
| Trie | 1 | 9.1% | 1.9% |
Practice a Square interview
Take a realistic AI-led mock interview with questions Square actually asks, with live voice and real feedback.
Start a mock interviewYour first interview is free · no credit card required