Problem: Permutation in string
Difficulty Level: Medium
Algorithm: create two blocks array of length 26 for string s1 and s2. fill s1 and s2 for s1's length, check if both array same if same return. Next run loop from len(s1) in s2 string. keep adding letter in block2 and keep removing 1 item from beginning s2. keep comparing s1 and s2 if equal return true
Programming Language: Golang & Java
En esta página del sitio puede ver el video en línea LeetCode: 567. Permutation in String (Golang & Java) de Duración hora minuto segunda en buena calidad , que subió el usuario Nandeshwar Sah 14 septiembre 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 50 veces y le gustó 1 a los espectadores. Disfruta viendo!