The Trade Desk interview question

You will optimize and refactor an N-way Set-Associative Cache data structure.