Failures in a row

SQL

Failures in a row

PhonePe SQL Interview Question
hardPremium

About this question

A hard SQL question from PhonePe data analyst and business analyst interviews about users hitting several payment failures in a row. It tests window functions, gaps and islands and consecutive event streaks.

The full question, its data and the solution are part of Premium, along with every other question in the library.

  • The full question and its datasets
  • The editor with instant grading
  • A worked solution and common mistakes