LeetCode
Student Attendance Record II
Click
here
for an explanation.