...

/

Challenge: Write Code with Livelock

Challenge: Write Code with Livelock

Learn how to write code with a livelock condition.

We'll cover the following...

Problem statement

Consider a classic livelock scenario in which a husband and wife named Alice and Bob attempt to eat soup but only have one spoon between them. Each spouse is overly courteous and will pass the spoon to the other if the ...