Remove records older than a cutoff date while maintaining order.
Constraints
Example
>>> delete_old_records([(1, '2023-01-10'), (2, '2023-01-05'), (3, '2023-01-15')], '2023-01-10') [1, 3] >>> delete_old_records([(10, '2020-12-31')], '2021-01-01') []
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints