I truly am a different person now, and I think I learned so much about life to help me be a better person.
However, I didn't do much coding or software work in that time.
I couldn't pass a leet coding interview if my life depended on it. I'm very out of practice and out of the loop.
What should I put on my resume? What should I try to learn or do to get back to work? Now seems like it is the worst time ever to go back. Is my career in big trouble?
I mostly did frontend work (angular) with some node or python backend work.
What worked for me was briefly brushing up on my data structures and algorithms, and then bombing several interviews. After eventually not bombing a few real interviews, I felt like I was back in the game.
On a resume, I would list your time as a sabbatical if you did no coding during that time, and I wouldn't give it more than a sentence of space. If you did even a little coding, I would focus more on what you coded.
Your decision to travel doesn't mean that your career is in trouble! You may or may not run into obstacles finding work during this time. Just be sure to prepare for a possibly lengthy process.
I think that structuring things like that might help if companies are reluctant to hire you because of rust.
As for leet code: There's plenty of places that don't interview that way. I couldn't pass one, either, and I've been coding professionally for 35 years. Don't worry about those kinds of questions. If you're and angular programmer, leet code isn't really what your job is, and therefore it really isn't what interviewers should be asking. If they are, that's their problem, not yours. Go somewhere else.
Had a number of interviews, 2 onsite, but all have been failures where I've failed out at one stage or another on the way. Sometimes I have a good idea why, other times it feels very opaque. Somewhat depressing experience. Looks like I'm gonna have to do another round of resume submissions / recruiter screens and so forth from there for a second interview loop.
You prob just gotta get fresh with a frontend framework if that's what you want to continue to do. Then also grind out leetcoding stuff/interview trivia. Own the fact you took off if they bring it up. Set the tone.
If you or anyone else in this thread is interested in a side project, holler at me.