set_algorithms/has_unique_window library
Functions
-
hasUniqueWindow<
T> (List< T> nums, int k) → bool -
Checks whether there exists a subwindow of length
kinnumssuch that all its elements are unique.
k in nums
such that all its elements are unique.