Most upvoted comment
technical interview has shaken my confidence as a programmer; how can I learn from this?(r/cscareerquestions)
Interview programming is an entirely different art, completely removed from the realities of day to day software development.
Read Cracking the Coding Interview to get you 90% of the way there: www.amazon.com/Cracking-Coding-Interview-Programmi…
After completing that; to really solidify your knowledge and to make you a more complete developer, read the Algorithm Design Manual (An excellent reference, and even makes decent beach/pool side reading because it’s surprisingly conversational)
I come from a non-CS background and have been employed in engineering shops that would be considered “hardcore” after absorbing much of the content in these two books. (Still doesn’t substitute for a solid CS program, but it’ll at least help you ‘think’ and ‘talk’ like a computer scientist)