Make a function that takes in an array and returns the average of the array
Anonymous
Any engineer with more than an hour of experience could do this problem and somehow I was told my answer was the reason I did not pass the interview.
Check out your Company Bowl for anonymous work chats.