Keep the First Occurrence of Every Globally Unique Line
Company: Vanta
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Onsite
Overview: Remove repeated lines globally while preserving first-occurrence order, exact case, spaces, and empty lines.
Read the full Vanta Software Engineer interview experience this question came from