Pregunta de entrevista de TikTok

Longest arithmetic subsequence Image carousel with smooth transitions