New
ML System Design & SQL tracks just landed
See what's new
×
Question Bank
Pricing
Blog
Forum
HOT
JobRadar
NEW
Referral
Description
Solution
Discussion
Submissions
Ask AI
Question Bank
Stripe
SQL Question
AI Insights
Quick Summary
Identify transactions where the same merchant, card, and amount appear multiple times.
Filter for duplicate events that occur within a ten-minute window relative to their immediate predecessor.
Count only the subsequent occurrences, excluding the initial transaction in each sequence.
What This Tests
Window functions for row-wise historical comparison
Temporal gap calculation and threshold filtering
Group-based chronological ordering
Conditional aggregation
Common Patterns
Window Function
Date Arithmetic
Aggregation
Sort
Collapse
Hint 1
Hint 2
Hint 3
What Interviewers May Ask Next
Ask AI Assistant
Ask AI Assistant
Ask me anything about this coding question!
Qwen
Qwen3.6-Flash
0/2000
Run
Submit
Test Cases
SQL Schema
Pandas Schema
Input
-
Output
-
Expected
-