• + 0 comments

    It will iterate through the array just once and count all the (+ve) , (-ve) nos and zeros and will divide their count by total numbers of arrays in the array. I have edited my solution in proper format with the same code,have a look.