Skip to main content
All Questions

Given a list of users and their login events (Success or Fail), flag users who have failed consecutively exactly k times.

Unlock detailed company stats for this questionUpgrade

Conceptually similar to Max Consecutive Ones (LeetCode 485) but with string events and user ID tracking.

Community answers

No answers contributed by the community yet.

Related courses

Course

Data Engineering Interview Prep

Land your dream data engineering role at Meta, Google, Amazon, Microsoft, Walmart, DoorDash, and other top companies. Learn from mock interviews, frameworks, and advice from senior candidates. Practice data modeling, pipeline design, SQL, coding, behavioral interviews, and more.

Course

Behavioral Interviews: A Practical Guide for Engineers

Get offers at the level you deserve. Prep for senior+ behavioral interviews at FAANG and Tier-1 companies. Made with staff and principal engineers from Meta, Netflix, Google, and more. Avoid downleveling, elevate past projects, and stop sounding like a robot.