Three Array Problems for Trading Geometry and Grouping
Company: Zoox
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Technical Screen
Overview: Solve three independent array and grouping tasks: one buy/sell profit, a four-value line witness using distinct indices, and deterministic nickname-safe grouping. Respect large inputs, wide integer arithmetic, unique normalized output, no-profit and no-witness cases, feasibility checks, and follow-up extensions.