Leetcode 3390. Longest Team Pass Streak
Given a sequence of pass events between players, find the maximum-length streak of consecutive passes that stays within a single team (respecting chronological/timing and turnover rules). The core challenge is modeling passes as a directed graph constrained by time/team membership and computing the longest valid path — typically solved with graph construction plus memoized DFS/topological DP or bitmask DP to handle cycles and state constraints.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.