Temu / Pinduoduo logoTemu / Pinduoduo
CodingMembers

Top K Frequent Elements (LC 347) with a Follow-Up Variant

Members only

Pinduoduo phone-screen coding prompt built on a familiar frequency-selection problem, with an interviewer-added ordering follow-up that makes comparator behavior important. The base is recognizable, but the exact tie contract is the part worth clarifying and drilling.

SWE
array
hashmap
heap
sorting
medium
Frequency
Single report
Last asked
2026-08-04
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...