Frontend Interview Experience - Interview Exp

Just had a video interview on Friday, it was about an hour long. Since I interviewed for a front-end position, the questions were relatively simple, focusing on tree traversal. I answered using JavaScript on a whim without much preparation beforehand. Initially, I was a bit confused when asked about trees but managed to come up with a recursive solution. There was a follow-up question about an iterative approach, which I completed somewhat casually. Job-hopping while being older and having kids makes it really difficult to practice coding problems.