Sorry to hear about your experience with brainteaser coding interviews. They really are not a true test of your abilities or value as a developer. From personal experience the people who tend to do well on those questions have just practiced that discrete skill a lot and may or may not actually excel on the job, and lots of people who bomb these interviews turn out to be amazing developers. Take the example of the guy who wrote homebrew but didn't get hired at Google because he flunked a question about trees.
That's why at Lytmus we've created a way to interview with real world coding projects. We spin up VMs with full development environments where companies can ask you to do the kinds of things you actually do on the job instead of inverting binary trees and what not.
Would love to get your thoughts as a candidate who's frustrated with current interview processes, we have a demo available on our home page (www.lytmus.com).