I believe the answers were covered quite well in your previous topics about it.
You have written that you are self-educated and you know very little. You have written that you were a professional programmer for seven years and employed by a game studio for one year, but what you were able to accomplish was mostly through trial and error and through copying code found online. You have also written many things that show you lack mental maturity.
Simply, you do not have the necessary skills required to learn on your own. You need to learn how to learn. And you need to learn how to get your medical conditions under control. YOU CANNOT DO EITHER ON YOUR OWN. You need professional help for both.
From this thread you started earlier, and this one, and others like it, the suggestions still hold.
You have written that you are disabled by bipolar disorder and that you have required hospitalization. As someone who suffers from it fairly badly myself I can sympathize. Yes it is hard, but it is not an excuse. EVERYONE has hidden battles that you cannot see. If the condition is currently preventing you from working -- which it can -- then you need to get help with that first. Since you say you have lost confidence in yourself and need to restore it but don't know how. Again, the answer already given is to regularly see a psychologist who can help you learn coping strategies, and to see a psychiatrist who can prescribe medications to stabilize the bipolar swings and to reduce their intensity.
It is most critical that you get the mental health issues resolved first. You will struggle with ANY job as long as bipolar tendencies control your life. The reckless side of mania causes overcommitment and unrealistic views of what you can accomplish, and the depression side causes an inability to work, or to complete work, or to feel value. This will destroy just about anyone in their career if left unaddressed.
Once that is taken care of, the other suggestions hold.
It looks like your self-educated path did not work. Your education did not cover enough critical topics. So one option is to get a formal education that includes all those critical topics. In other words, go get a college degree in computer science. While others may be able to work without that degree, learning the topics sufficiently on your own, you have not. So get the degree.
Alternatively, you have mentioned in other posts that different careers appealed to you. You have mentioned taxi driving, which is a viable career if it interests you. You have mentioned being educated as an "electronics engineer", which may also be a viable path for you. Game programming is almost certainly out as a career option until you get more education.
Spending your time reading about data structures and algorithms, but never practicing, will not turn you into a game programmer.
Attempting to learn them from tutorials and web sites will not turn you into game programmer.
It is possible that getting formal schooling may force you to study, which may be enough to enable you to program games. That is a multi-year path that requires a lot of dedication, and it may or may not be available to you. if it is not available to you, then based on your history, I don't think game development should be your career path.
Stating again:
#1: Get your bipolar under control. You will struggle in every job and struggle in education until you do. You do not have the skills to cope with that on your own. You need help.
#2: Get a formal education in computer science -- not self education, not an online education -- before attempting to return to game development. Until then, the harsh and painful assessment is that you are unlikely to develop the skills on your own. Again, you do not seem to have the necessary skills needed to learn on your own. You need help doing it. But based on your posting history, all the comments about how you struggle with basic topics, the inability to work with space invader barriers after multiple months of "effort", it does not appear that you are able to pick them up.
OR
#2: Change careers. You seem to be star-struck with the career, but not actually passionate about the work. It is like a child seeing a fancy car and claiming they want to be a mechanic, versus someone who tinkers with engines in their spare time and then declares they want to be a mechanic. If the career were a good fit you would be making games on your own, actively picking up algorithms on your own, and actively developing programs on your own. This does not appear to be a field you are interested in.