Earlier quoted context omitted.
Lately, my company has been looking for folks who can, essentially, compute the sum of items in an array in JavaScript. Seniors continue to fail this. It would be great if they'd stumble over conundrums like "what if there are non-numeric entries in the array." Most often, they just stare and don't even start on the problem.
Could you elaborate on the problem? No offense, I find it very hard to believe that no one knows how to sum the items in an array. Are you expecting some map-reduce-like parallel sum, or something else?
I can't really elaborate, but it's only barely more complicated than I'm representing. I'm with you. I can't believe it. Boggles my mind every time. And no we're not expecting a complicated solution.