I'm used to writing functions where you do not modify the value you are given but instead you return a new version of it.
Why do all these questions expect us to modify the data in place?