Which classes do technical interviews draw from?

I am trying to obtain a software internship for the summer, and I was wondering which classes I should either take or go back and review more carefully. Does anyone have tips on which subjects are most related to what the major tech companies test you on in interviews?

Almost all algorithms and data structures. Look up the book/pdf “Cracking the coding interview”

I agree data structures and algorithms

Data structures and algorithms are the biggies for just about any developer position, as others have said. If you have those two you’ll be able to find something. And generally for any whiteboard/pen and paper coding they’ll have you do, it’ll be data structures and algorithms focused at its core.

Other than that it depends on what the exact position is for. If you’re applying for something database related and have taken databases for example, expect them to ask some questions there. And so on for other specific subfields that you’ve taken classes in if you’re applying for those positions.