BrowserStack Interview Question

Java Multithreading, Locking, Semaphore, OO design patterns