Etsy Coding Interview Questions
28 Etsy coding interview problems with full optimal solutions — 19 easy, 7 medium, 2 hard. Every problem ships with multiple approaches (brute-force first, then the optimal), complexity tables for each, company-specific tips on what an Etsy interviewer values, and a FAQ section.
Showing 7 problems of 28
- #20mediumfoundational
20. Implement Trie (Prefix Tree)
Build insert/search/startsWith on a trie — the exact data structure powering Etsy's search autocomplete as buyers type listing keywords.
- #21mediumfoundational
21. Product of Array Except Self
Compute prefix-product arrays without division — a pattern Etsy uses internally for price-range normalization across listing categories where any element could be zero.
- #22mediumfoundational
22. Number of Islands
Count connected components in a grid — Etsy uses this BFS/DFS graph pattern to cluster seller locations into regional fulfillment zones.
- #23mediumfoundational
23. Merge Intervals
Collapse overlapping time ranges into non-overlapping intervals — the core algorithm Etsy uses to merge seller promotional sale windows before applying discounts.
- #24mediumfoundational
24. LRU Cache
Build a Least Recently Used cache with O(1) get and put — the exact eviction policy Etsy uses for its listing-detail cache to keep hot products in memory without unbounded growth.
- #25mediumfoundational
25. Coin Change
Find the fewest coins to make an amount — Etsy's checkout team uses the same DP pattern to compute the minimum number of coupon denominations needed to cover a buyer's order total.
- #26mediumfoundational
26. Group Anagrams
Cluster strings that are anagrams of each other — Etsy uses this hash-key normalization pattern to deduplicate misspelled listing tags ('handmade', 'hnadmade') before indexing.