Datadog | SWE Intern (Intern) | Coding | Online Assessment
Interview Date:September 7, 2026Region:NA (North America)Hiring Team/Org:General Hire
You are given an array timestamps of length n, where each element represents the time (in seconds) of a login attempt. Two login attempts at indices (i, j) are considered suspicious if: i < j The absolute difference between their timestamps is less than or equal to timeWindow , i.e "[timestamps[i] timestamps[j]] <= timeWindow Your task is to determine the total number of suspicious pairs in the array. Return the coun...
Sign in to view the full interview experience
Create or use your InterviewDB account to read the full Warren post and all shared details.
Sign in to continue0