Given two semaphore n and s
Now given 2 situation
Situation 1) The producer will be able to add an item to the buffer, but consumer can never consume it
Situation 2) Consumer succeeds in acquiring semaphore s, when buffer is empty
What will be initial value of n and s to fulfill these two condition separately?
(U can describe the situation with few words)