Salesforce interview question

I was asked few DSA problems based on variable window sliding technique, hashmaps and strings.