Over the last few years I have applied and interviewed at a number of tech firms such as Google, Yelp, Microsoft, Amazon, Adobe and other big names. I have received offers from Palantir, Workday, Flixbus, etc.
In order to be successful during those interviews (but also as an engineer in general) I had to prepare for the type of questions that are asked when interviewing at these companies. My preparation was done mostly through everyday coding and problem solving. But often times I found myself traveling on a train to work and reading a book was more suitable.
The knowledge provided through these books is usually language agnostic and focuses more on the algorithmic part. That is why I believe the books will keep their values indefinitely. I have conducted a small list of books which I read and found particularly useful for my software engineering/coding interview preparation.