Status: IN
Solutions in this repo (including `minOperations`, `makeTwoArraysEqualByReversingSubarrays`, and `majority_element`) do not mutate their input arguments; they use non-mutating operations like `sorted()`, `set()`, and scalar variables.
Source: entries/2026/06/06/make-two-arrays-equal-by-reversing-subarrays-solution.md