I've been interviewing candidates for junior/intermediate/senior positions all week. I have some difficultly dealing with bad interviews.
For instance, I just conducted an interview with a guy who supposedly has 20 years experience and a Masters of CS. He didn't know what a hashtable was, or a linked list (said that was something to do with HTML and CSS), couldn't declare an array of 5 integers as part of a simple whiteboard exercise - I asked him to pass an array of 5 ints to a function that returns the numbers > 2. He couldn't write a single line of code. Apparently, he had even taught web programming with HTML and Javascript.
How do you end an interview politely, once you know that it's a waste of time to go further?

Add your 2¢