In our initial example of “HGFDSAXZBJKC” and “ABKC”, we would have the following initialized tracker variables:

xxxxxxxxxx12
const map = { 'A': 1, 'B': 1, 'K': 1, 'C': 1};let counter = 4;let begin = 0;let end = 0;let substrSize = 12;let head = 0;OUTPUT
:001 > Cmd/Ctrl-Enter to run, Cmd/Ctrl-/ to comment

