A few days ago one of the candidates wasn't able to tell us the difference between stack and queue.
You're asking questions that could be googled in five minutes, and I'm more into practice, let me do a test task
My answer was really polite and really strict: there are some things you should know off the top of your head.
If you don't want to be humiliated on tech interviews, there are two ways.
First and easy-peasy: switch back to the occupation you've come from into development.
Second and hard: DO SOME COMPUTER SCIENCE. Stop asking questions on StackOverflow and forums, stop reading medium, stop writing applications (you probably doing that wrong anyway). Just do THE FREACKING COMPUTER SCIENCE.
Here is good guy Robert Sedgewick (see cover). He will guide you through forests of algorithms and fields of data structures. Did you ever play Dark Souls? This is worse. But if you have ever finished it - you should remember THAT feeling.
Or you can just drop it back to normal life without pain and software development. Up to you.