Smallest substring of all characters 2016-08-04 algorithm Given an array with unique characters ‘arr’ and a string ‘str’, find the smallest substring of ‘str’ containing all characters of ‘arr’.example:getShortestUniqueSubstring(['x', 'y', 'z'], 'xyyzyzyx');// zyxgetShortestUniqueSubstring(['x', 'y', 'z'], 'xyyzyzy');// xyyz Newer Quad combination Older Flatten nested arrays of integers