Temu / Pinduoduo logoTemu / Pinduoduo
CodingMembers

Spiral Matrix Generation & Traversal

Members only

Temu / Pinduoduo phone-screen grid prompt built on spiral-order movement, asked in both a construction and a traversal form. The follow-up adds another movement condition, so careful direction and visited-state handling matter more than the familiar base pattern. One of the most frequently repeated Temu coding screens.

SWE
grid
simulation
medium
Frequency
Medium
Last asked
2026-10-08
Stage
phone-screen

Members get

  • Full problem statement
  • Known variants to clarify
  • Step-by-step approach
  • 2 common pitfalls
  • 1 follow-up question with answer directions
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...