• + 0 comments

    This is a really badly designed Hackerrank evaluation on an interesting question.

    1) You can get full points for just printing out the hardcoded text answer 0.145 ಠ_ಠ

    2) The question says to read from stdin but then the "submit" button doesn't come with any stdin test cases, so you need to hardcode the input as a list into your solution.

    There are plenty of ways to make this an interesting problem - what if you need to read in from a file? What if the input can be any arbitrary number of lists?

    The calculation itself is a worthwhile exercise - I suggest doing it manually (without using numpy), independent of how silly this HR evaluation is.