Reported September 2024
Squarepointhash table

Suggested Products

Reported by candidates from Squarepoint's online assessment. Pattern, common pitfall, and the honest play if you blank under the timer.

Get StealthCoderRuns invisibly during the live Squarepoint OA. Under 2s to a working solution.
Founder's read

Squarepoint hit you with "Suggested Products" in September, and you're probably staring at a vague product recommendation problem. This is a hash-table or graph traversal question dressed up as e-commerce logic. The OA won't give you much narrative detail, so the real test is recognizing the underlying structure: you're either building a lookup map, traversing relationships, or ranking by some metric. StealthCoder will catch the pattern in seconds if you freeze mid-solution.

Pattern and pitfall

The trick here is that "suggested products" usually means one of three things: (1) build a frequency map or co-occurrence table from purchase history, (2) traverse a product graph by similarity or category, or (3) rank candidates by a scoring rule. Squarepoint runs a quantitative trading desk, so expect efficiency to matter and edge cases to hide in the data structure setup. Most candidates overthink the ranking logic and underthink the data prep. The common pitfall is not precomputing relationships or not handling empty/null cases early. If you blank on the approach during the live OA, StealthCoder reads the problem in real time and surfaces the pattern without noise.

The honest play: practice the pattern, and have StealthCoder ready for the one you didn't see coming.

If this hits your live OA

You can drill Suggested Products cold, or you can hedge it. StealthCoder runs invisibly during screen share and surfaces a working solution in under 2 seconds. The proctor sees the IDE. They don't see what's behind it. Built for the candidate who saw this exact problem leak two days before his OA and wondered if anyone had a play.

Get StealthCoder

Related leaked OAs

⏵ The honest play

You've seen the question. Make sure you actually pass Squarepoint's OA.

Squarepoint reuses patterns across OAs. Built for the candidate who saw this exact problem leak two days before his OA and wondered if anyone had a play. Works on HackerRank, CodeSignal, CoderPad, and Karat.

Suggested Products FAQ

Is this a sorting or a graph problem?+

Could be both. If you're ranking products by score, it's sorting. If you're finding related products by traversal, it's graph. The problem statement matters. Start by mapping the input: are you given a list, a graph, or a matrix. That tells you the shape.

What's the Squarepoint angle here?+

They hire engineers for trading, so efficiency is non-negotiable. Don't write O(n^2) when O(n log n) exists. They also value clean data handling: assume dirty or missing product IDs. Build defensively.

How do I prep for this in 48 hours?+

Solve two LeetCode problems: one on hash-table construction (like Group Anagrams) and one on graph BFS or DFS. Spend 20 minutes writing a clean product-lookup template. You don't need to memorize the exact problem.

Will they ask follow-ups about scaling?+

Likely. Be ready to discuss: caching results, handling high cardinality, batching lookups. Don't volunteer optimization; wait for the ask. But have one in your head.

Is this problem still asked at Squarepoint?+

It was reported in September 2024, so yes, the pattern is live. Recommendation and matching problems are evergreen in fintech. Don't skip it.

Problem reported by candidates from a real Online Assessment. Sourced from a publicly-available candidate-aggregated repository. Not affiliated with Squarepoint.

OA at Squarepoint?
Invisible during screen share
Get it