I just had an interview like this and I don't think I did well. It was a dumb stupid coding problem that, naturally, should have been easy, and it took me forever. I honestly don't know if I'll hear back from them at this point. :/
At least reading this post has helped me regain some of that lost self-esteem. Thanks for sharing it. <3