Oracle Interview Question

- Sliding window problem in Java