Skip to content

Files

Latest commit

Jun 25, 2019
00efddf · Jun 25, 2019

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 25, 2019
Jun 25, 2019

Given a string and a set of characters, return the shortest substring containing all the characters in the set.

For example, given the string "figehaeci" and the set of characters {a, e, i}, you should return "aeci".

If there is no substring containing all the characters in the set, return null.