← Paytm questionsSmallest substring with maximum distinct characters
Filed under Paytm · Also reported at Dailyhunt, Sabre
Given a string, find the length of the smallest substring that contains the maximum possible number of distinct characters found in the entire string.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.
Collected from public candidate posts and coding forums. Updated Nov 2026.