Most recent files in directory

Content:

Original link: A constant-space linear-time algorithm for deleting all but the 10 most recent files in a directory / The Old New Thing / Microsoft.

Comments: