Revolut Interview Question

I don't remember what the questions were honestly. One of them was a pretty standard JavaScript sliding window algorithm.