solulubeta
Sign in
DSA Basics / Exam level
03.05 · Problem

The Longest Run of Jersey Numbers

Hard Hash set · count runs from their start Pro

This problem is part of solulu Pro

A sports club has a pile of jerseys with numbers on them, in no order at all. The manager wants the longest run of consecutive numbers the pile contains — for example 4, 5, 6, 7 — so he can hand out a matching set.

Lifetime ₹2,000 ₹1,000 · Beta offer
Mark this problem as solved when you are finished.

Item 70 of 90 · updated 2026-10-12