</>OfferRetriever
DashboardDiscuss
NEW

Spring Hire Sale

Limited Time Deal: Unlock all premium questions for over 30% off

$10.42$7.08

08

:

04

:

49

:

03

Get this deal
Back to Dashboard

Shortest Substring with Alphabet

Medium
FREE

This is a popular twist Meta interviewers often put on the classic leetcode problem to find a minimum window substring.

Given an input string and an alphabet (set of characters), find the shortest substring of the input that contains all characters from the alphabet at least once. ...