// Given two strings s1 and s2, return true if s2 contains a permutation of s1, or false otherwise. // In other words, return true if one of s1's permutations is the substring of s2.
To write a program that finds the length of the longest set s[k] defined as s[k] = { nums[k], nums[nums[k]], nums[nums[nums[k]]], … },where the iteration stops before a duplicate element occurs. The ...