Datadog | SWE Intern (Intern) | Coding | Online Assessment

conniebwangconniebwang·
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 continue
0

Discussion

0

Log in to post a comment or vote.

Sort by
Loading comments...

Interview Resources

InterviewDB

About InterviewDB

Crowdsourced Interview Question Bank for Job Seekers in Tech/Finance Industry

Copyright © 2026 InterviewDB. Victory is reserved for those who are willing to pay its price.