Squarespace Coding Interview Questions
25 Squarespace coding interview problems with full optimal solutions — 12 easy, 10 medium, 3 hard. Every problem ships with multiple approaches (brute-force first, then the optimal), complexity tables for each, company-specific tips on what an Squarespace interviewer values, and a FAQ section.
Showing 10 problems of 25
- #13mediumfoundational
13. Longest Substring Without Repeating Characters
Find the length of the longest substring of distinct characters; Squarespace uses it to test the sliding-window pattern.
- #14mediumfoundational
14. Add Two Numbers
Add two non-negative integers represented as reversed linked lists and return the sum as a linked list; Squarespace uses it to test careful carry handling on a list scan.
- #15mediumfoundational
15. Container With Most Water
Find the pair of vertical lines that hold the most water; Squarespace uses it to test whether you reach for the two-pointer optimization instead of brute force.
- #16mediumfoundational
16. 3Sum
Find every unique triplet that sums to zero; Squarespace uses it to test whether you can combine sorting with the two-pointer pattern and de-duplicate cleanly.
- #17mediumfoundational
17. Group Anagrams
Cluster strings that share the same letters; Squarespace uses it to test whether you choose a canonical-key strategy over pairwise comparisons.
- #18mediumfoundational
18. LRU Cache
Design a least-recently-used cache with O(1) get and put; Squarespace uses it to probe whether you combine a hash map with a doubly linked list correctly.
- #19mediumfoundational
19. Word Break
Decide whether a string can be segmented into a sequence of dictionary words; Squarespace uses it to test DP memoization on top of recursion.
- #20mediumfoundational
20. Coin Change
Compute the minimum number of coins that make up a target amount; Squarespace uses it to test bottom-up DP versus greedy mistakes.
- #21mediumfoundational
21. Number of Islands
Count connected groups of land cells in a 2D grid; Squarespace uses it to test grid traversal via BFS or DFS without redundant work.
- #22mediumfoundational
22. Course Schedule
Detect whether prerequisite dependencies allow all courses to be completed; Squarespace uses it to test cycle detection in a directed graph.