Ad
  • Custom User Avatar

    I've given up on this challenge, thanks for the answer but I can't even remember already wth was going on that challenge, just know that 20 was there and should be the first position of the array from what i remember but instead 0 was given

  • Custom User Avatar

    Can't really understand the description for this one, {1,2,3,4,3,2,1} yeah s ure, 4 is the sum of both the left side and right side of the array.
    Then this {1,100,50,-51,1,1} the sum result of 50, -51, 1, 1 is the same as the first position in the array which is 1, sure ok.
    But now this part just makes me feel dumb:

    "You are given the array {20,10,-80,10,10,15,35}
    At index 0 the left side is {}
    The right side is {10,-80,10,10,15,35}
    They both are equal to 0 when added. (Empty arrays are equal to 0 in this problem)
    Index 0 is the place where the left side and right side are equal."

    The left side is empty? And Index 0 is the place where the left side and right side are equal? Whaaat?!

  • Custom User Avatar

    Your comment is hidden in karenaf's post

  • Custom User Avatar

    Well I'm not understanding the description since now I've concatenated the longest strings into one consecutive string but yesterday it said if there was one with the same length just return the first one, but now it doesn't show up?

  • Custom User Avatar

    First the abigail theta passes, but after that from the var_dumps I've made it looks like you want us to concatenate with previous positions in array? What? Don't really understand what is there to do
    Edit: Think I got it now, read the comment from @jumbi533 his reply which helped saying just CONSECUTIVE longest strings