ByteDance Interview Question

Have you used the window function before?