How do you walk through examples?

I know this seems like a basic question, but I feel like I could use some help figuring out how to walk through code with example inputs, as I know this is expected in interviews. How do you all do this in practice? Do you make a "table" of variable values and walk through it that way? Do you have a system? Have you read anything on tips for doing this? Any help appreciated.

Comments (0)