Day 18 of 31-Day May LeetCode Challenge

Aanchal Patial
1 min readMay 18, 2020

--

Given two strings s1 and s2, write a function to return true if s2 contains the permutation of s1. In other words, one of the first string’s permutations is the substring of the second string.

--

--

Aanchal Patial

We never really grow up, we only learn how to act in public