Tags » Lav

Synchronize Three Threads

Was asked this question in an interview , tried to solve it … but not successful.
I thought of using CyclicBarrier

There are three threads T1 prints 1,4,7… T2 prints 2,5,8… and T3 prints 3,6,9 …. 203 more words

Stackoverflow

How to poop in the lav.

It’s happened to every flight attendant: you had a thirty minute sit at the airport so you hopped off the plane and ran to get a cup of coffee at that new coffee joint just a few gates down. 107 more words

FAs Be Like.