re: Terrible interview question: Swap variables without a temporary VIEW POST


What are the four conditions of a deadlock? I have been asked this question on two occasions.


This is one that came up during my interview training. Somebody posed it as a sample question, and was then told it wasn't good. Mainly because it's obscure trivia, and can be resolved with a search in a few seconds.

code of conduct - report abuse