I was recently laid off at a big tech company after 10 years. And now I am facing the harsh reality of trying to crack leetcode medium/hard problems (something I never managed to do routinely while I was working at this company). Is anyone here in a similar situation or has been in one? If so, how do you keep yourself motivated to solve multiple problems a day, especially knowing you are actually never going to work on such problems as part of an actual job?
Edit: I need to practice leetcode because the interview process for almost every software engineering role (especially in the Bay Area) seems to require going through at least one round of coding challenge based on leetcode medium/hard problem. I did not call it out earlier because I thought this is a very obvious point. Perhaps, I should have clarified that I am mostly targeting software engg roles.
I have had the same problem. I studied some leetcode, but didn't feel motivated and never got very good at. Good enough to get an okay job, but nothing at a top-paying company. So you might want to take the approach that you don't need to get a job that requires a huge amount of of leetcode study; focus on networking or whatever.
If you feel you have no choice, though, I wonder if you could try to gather together a group of people who are in a similar situation, in order to do practice sessions. Each person could take turns explaining a leetcode problem on a whiteboard. It would give you interview practice, help you make networking connections, and hopefully make the task less boring and introduce an aspect of accountability. I think you'd have to be careful to make sure that the people involved were friendly and helpful, not make it about one-upmanship. Anyway, that is what I'd do today, if I had the problem that I needed to pass leetcode tests.