123234Valid?
mediumGrind 75

Hand of Straights

Hand of Straights looks straightforward, but it quietly checks whether you reach for the right lookup structure. Interviewers love it because it reveals your data-structure instincts and your edge-case discipline. Watch your edge cases around repeats, and be clear about what your map is storing.

Arrays & HashingGreedy
๐Ÿ‘ฉโ€๐Ÿซ
๐Ÿ‘จโ€๐Ÿ’ผ

Meet Allison & Tim

Your AI coaches

Practice coding interviews out loud with real-time voice coaching. Your code actually runs.

Free ยท No sign up ยท Early access
1Check If Cards Can Form Consecutive Groupsmedium
Based onLeetCode

Get this problem sent to your inbox