Answer Policy Violation Log Queries
Company: Pinterest
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Technical Screen
Overview: Answer five deterministic query types over a timestamp-sorted policy violation log, including distinct-post and raw-record counts. The prompt fixes inclusive ranges, duplicate behavior, policy ordering, empty results, timestamp width, and query-order output for a later four-language console implementation.
Read the full Pinterest Software Engineer interview experience this question came from