MCPcopy Index your code
hub / github.com/CodeToExpress/dailycodebase / smallestSubstr

Function smallestSubstr

day9/JavaScript/sol1.js:14–65  ·  view source on GitHub ↗

* @author MadhavBahl * @date 01/01/2019 * METHOD (Using Array) * - Initalize an empty array `strArr` that will store all the substrings that contains all the array elements * - iterate over each character of string and check whether it is present in the array * - If it is not present in the arr

(str, arr)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

sol1.jsFile · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected