{"id":"in-place-sort-mutation-pattern","text":"Multiple solutions (`trimMean`, `can_attend_meetings`) mutate input arrays via `list.sort()` in-place; this is a recurring pattern in the repo where LeetCode's single-call contract makes input preservation unnecessary.","truth_value":"IN","source":"entries/2026/06/06/mean-of-array-after-removing-some-elements-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":["in-place-mutation-with-return-convention"],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"in-place-sort-mutation-pattern","truth_value":"IN","reason":"premise"}]}}