If you mean to actually learn to code for a job that obviously requires coding skills...
While we are at it, also spend another year learning technology and design patterns to prep for a design interview.
Listen, nobody gets a job at Google because they studied for coding interview. Coding is a precondition of getting the job, but it is far from enough to secure it.
There is a huge difference between “learning how to code” and “learning how to pass coding interviews”. What you actually do at any job - BigTech or not - is completely different from what you learn “grinding leetCode”.
If there is more of a prerequisite than “learning how to pass coding interviews” to get into Google, how do juniors with no real world experience get in?
That's exactly what my wife did. She solved coding challenges for a few weeks before interviewing at Google. Got an offer but turned it down because of the people she met.
Getting fired where we live (not US) is very hard.
While we are at it, also spend another year learning technology and design patterns to prep for a design interview.
Listen, nobody gets a job at Google because they studied for coding interview. Coding is a precondition of getting the job, but it is far from enough to secure it.