Pendo interview question

Easy/Med LC + Tedious Front-End Question