During an interview you will likely have to go through a series of technical interviews that will give the company a good idea about your expertise.
An in-person interview is usually conducted with a whiteboard.
You might be asked to solve a problem.
You might be asked how an algorithm works.
You might be asked to implement something that’s explained in words.
It highly depends on the company you’re interviewing at. The goal of the interview is to see if you’re well prepared with a solid computer science foundation, and also to check if you’re a good fit for the role.
Sometimes the interviewer will ask you to explain with your voices all the choices you make. To goal here is to see if you will be a functioning individual in a collaboration based environment, and you’ll be a good team member.
It’s very important to practice beforehand, because once you’re in the interview you’re going to have a lot of pressure and if you are not prepared it will show.
Practicing for interviewing should also become a habit. The best way to increase your salary as an employee is to change your job. Move to a different company, with a higher level role. And moving will require interviewing again (unless your skills will speak for you, in one way or another, but it’s more common that you will interview).
Now when it comes to preparing for the questions, it’s really a hit or miss. The questions you might be asked as so many that it’s impossible to prepare for them all. But preparing for questions will give you a framework, a system, that you will use during the interview.
If you want to apply at a big company I also highly recommend the book Cracking the Coding Interview.
Pick a book on computer science. Applying at Google for example typically will require you know a lot of computer science theory. Watch YouTube videos dedicated to this topic. Search “prepare google interview” on YouTube.
Then I also recommend to spend a lot of time on those sites:
Preparing for big companies interviews is definitely hard, as they optimize their search for new CS grads, and it shows.
This is one of the reasons why I’d prefer to apply to a small company which does not require spending too much time on learning how to solve interview questions, and would rather check my practical abilities as an individual rather than how much computer science theory I studied.