YUCK. One of the first things I will do when presented with a technical scenario is start questioning the problem's parameters, including API choice.
Interviewer: "Show me how you'd store a list of items in C++." Me: "Well, depending on the expected usage pattern I'd reach for one of the standard library's containers like std::list since it is time tested, robust, and comes with the compiler." Interviewer: "No, er, I mean if you don't have std::list... I want to know you can implement something from scratch." Me: "Am I really going to be working on a project without the language's library?? You generally don't want someone's hand-rolled linked list in production code."
I guess not wanting to waste the company's time re-implementing a wheel makes me a bad candidate.