BrowserStack Interview Question

Print logs in reverse order