Yapi Kredi interview question

They asked how the sliding window algorithm works, including time complexity and practical use cases in Java.