Temu / Pinduoduo logoTemu / Pinduoduo
Coding·60 minMembers

Perfect Squares — Return the Shortest Decomposition

Members only

A Temu / Pinduoduo first-round coding prompt that modifies a familiar perfect-squares task by requiring a richer return contract. It has appeared in multiple recent SWE screens, and the practical difficulty is finishing the coding after a long resume and fundamentals deep dive.

SWE
dp
bfs
shortest-path
medium
Frequency
Low
Last asked
2026-07-17
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...