I see some questions like "how do I do this?" but shows no effort was made by the OP. Just a problem and the desired result. While I know this is bad questioning, because StackOverflow is not a solution giving site, maybe I do have the patient and free time to give the OP what they are asking.
But should I?
[1, 2, 3]
, I want to get6
" is super low effort and shouldn't be answered. However, if the user laboriously explained all requirements, included examples of input, multiple expected outputs, also examples of what's NOT expected, then that's still effort, even if there is no code involved.