Dedupe Unsorted Array (Three Variants)
Problem overview from a real Apple interview:
Handle integers under Apple constraints: preserve first occurrence order, avoid hash sets, and implement an in-place heap sort with two pointers.
Check more interview questions and experiences about Apple
