Cepton Interview Question

how does smart pointers, semaphores work