Ad
  • Custom User Avatar

    To be honest I think it was very unclear and messy, not explained in detail, but very good one and awesome idea! :D

  • Custom User Avatar

    "You first solve the problem, then write the code", some people are not patient enough, like me, but everytime I take some time to think it ends up better then it usually does. Get into habit of thinking first :D

  • Custom User Avatar

    Random Test Cases are not flawless there may be a mistake, at one point I have to give 50$ and I have 25$ my algorithm return 'NO' but it expects 'YES'

  • Custom User Avatar

    Hi knox97,

    Thanx for your reply.
    But 0-value ist neither positiv or negativ. Therefore you can't count it as positive number and the correct answer for positive numbers in the second test is 8.

    Kind regards
    D.

  • Custom User Avatar

    Hey Dentzil, I'm not sure if this is intentional when I was solving this problem the second test had expected value on [0] with value 8 but there is 10 positive numbers in an array, anyways I hacked my way around but I'm just trying to be helpful if that is a mistake else good job making this a little bit more challenging :D :+1: