MAQ Software Interview Question

I was asked multiple Mysql queries along with DSA question min valid sliding window