Search
⌘K

Leetcode 1336. Number of Transactions per Visit

Given visit records with start/end timestamps and transaction records with timestamps, compute for each visit how many transactions occurred within that visit's time window; this requires interval joins and grouping (or window functions) to correctly associate transactions to visits even when users have multiple or overlapping visits.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.