They're clearly two different elements.
Very similar to mine, but slightly different
Nice and clean, I like this :)
XD I guess writing normal solution is no fun
"Write a function that returns the number of occurrences of an element in an array."
If the element is an "a" and there is an element "aba" in the array it should say in the description not to count letters there. It is unclear.
the first "e" parameter in the "(...) =>" is always the Item or the Value. But in this case you dont need it, since u filter the arr by its Index which is always the second parameter "i". So in order to use (or reach) the second parameter "i"(Index) you have to declare "e"(Item) first. Have in mind that u make up the names of the parameters, for example it could look like this arr.Where((v,i) =>.....) . Where "v" is the Item or Value and "i" is the index of that Value.
This comment is hidden because it contains spoiler information about the solution
I had the same question until I found this article, it's basically Select: