Pregunta de entrevista de Spring Computing Technologies

What is semaphore? and its types