Given working code that scans every movie on each search, restructure it so that searches by genre and year range are fast.
Given working code that scans every movie on each search, restructure it so that searches by genre and year range are fast.
Opens with the full question.