Overview:
I feel stuck, I am preparing on and off for coding interviews for the past two years. I need some constant source of motivation to keep my pace high and nail the interviews will full momentum.
Background:
I am an H1B visa immigrant, working in a tier-3 company(but a popular product-based company) for the past 2 years(that's all the work experience I have). I need to switch to a better company because my current company cannot sponsor my green card and hence they may not be able to extend my H1B after 3 years. I don't earn good but it's not much of a problem for me right now. Most of the time at work is fun and interesting but sometimes it is soul-crushing with my boss yelling at me for no reason.
My preparation:
I know all the coding templates and patterns(like DP, recursion, sliding window, linked list, DFS, BFS, graphs, trees, etc) but I can't recall them properly if I don't have any momentum going. At times when I am most prepared still, I can only solve medium level questions and occasionally some hard level question if it fits one of the coding patterns which I have studied.
Watched some videos on System Design but never gave any mock interviews for it.
I know I am not that talented that I can nail the interviews at FAANG companies in just 2 months of preparation. I need to do a lot of hard work to develop my skills. I have always been slow in my studies but my persistence and hard work has always made me successful than before.
This persistency is slowing down for me now or it's never been enough when it comes to interviews preparations. I am not able to keep my motivation high for a longer period so I waste my time procrastinating a lot. At my low times, coding preparations become overwhelming when questions get challenging. Sometimes I feel I am wasting my time solving these coding problems instead it would be more interesting to spend time contributing to some open-source real-world projects.
I don't lack consistent motivation to be productive at work but I lack the consistent motivation to be productive at interview preparations.
Can someone help me with my situation? What should I do?
Please share with me your thought process of what keeps your motivation high all the time.
Any motivational video, movie, quotes, tips, book, etc will also be helpful (even if it motivates me for some short amount of time).