Exercise 2: Should a Quicksort Search Be Date-Filtered? — Possible Solution ==================================================================== WHAT KIND OF TOPIC QUICKSORT IS ------------------------------ Per this chapter's own "Knowing When Not to Bother" section, date filtering is reserved for topics where the underlying subject itself changes over time - framework APIs, language versions, security guidance, tooling. Quicksort is explicitly named, by category, under the opposite heading: stable conceptual material, alongside algorithms and data structures. How quicksort partitions and recurses has not changed since it was first described, and won't change based on when a given explanation happens to have been published. WHY THE DATE FILTER DOESN'T HELP HERE ------------------------------ Per this chapter, date filtering isn't free - it can exclude a genuinely excellent older explanation of a concept that hasn't changed at all. A five-year-old or even decades-old explanation of quicksort is exactly as correct today as when it was written, so restricting to only the past year would risk removing some of the best available explanations for no corresponding benefit, since there's no "staleness" risk to guard against in the first place. THE ANSWER ------------------------------ No, this is not a good use of the technique. Quicksort is a stable conceptual topic where the correct answer doesn't change over time, which is precisely the category this chapter says date filtering should not be applied to. The learner's instinct to double-check before trusting results is reasonable in general, but the specific tool reached for here (a time-range filter) doesn't address any real risk present in this particular topic. WHY THIS WORKS AS AN ANSWER ------------------------------ It correctly classifies quicksort against the chapter's own explicit category distinction (fast-moving vs. stable topics) rather than applying the technique reflexively, and explains the real cost of misapplying it (excluding good older material) rather than just saying "it's unnecessary."