This question already has an answer here:
I have been to a few interviews and the max they have gone is 1.5 hours. But there is this one interview that could take 4-5 hours. I wonder why companies need to interview a junior developer for so long. I would understand if it was a senior position.
(sarcastic : Do they want me to code their entire app in those 4 hours or know my life history ?)