Ocado Technology interview question

NP complete algorithm deadloack, mutex, semaphore, monitor Programming: List comprehension List vs tuple