BrowserStack interview question

Algorithms, LR, Puzzles