Go to File -> Settings -> Tools -> Terminal and change Shell path based on the the installed git version.
for 64bit:
"C:\Program Files\Git\bin\sh.exe" --login -i
for 32bit:
"C:\Program Files (x86)\Git\bin\sh.exe" --login -i
Go to File -> Settings -> Tools -> Terminal and change Shell path based on the the installed git version.
for 64bit:
"C:\Program Files\Git\bin\sh.exe" --login -i
for 32bit:
"C:\Program Files (x86)\Git\bin\sh.exe" --login -i
function minimumWindowSubstring(str, substr) { | |
let lettersSeen = {}; | |
let lettersNeeded = {}; | |
let lettersMissing = 0; | |
for(let i = 0; i < substr.length; i++) { | |
if(substr[i] in lettersNeeded){ | |
lettersNeeded[substr[i]] += 1; | |
} else { | |
lettersNeeded[substr[i]] = 1; |