Implement Adjacent-Line Uniq
Company: Vanta
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Onsite
Overview: Implement adjacent-line uniq behavior without sorting, grouping only consecutive lines that share the selected exact or case-folded key. Support all, repeated, and unique run modes while preserving the first original spelling and reporting each run count in linear time.
Read the full Vanta Software Engineer interview experience this question came from