Ad
  • Custom User Avatar

    I created a second array with unique values.
    I found a solution without creating a unique array and now they all pass. Thx for the tip.

  • Custom User Avatar

    I'm still getting this error when running my solution:
    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 67108872 bytes) in /home/codewarrior/run.php on line 6

    I only get this on the last testAdvanced so i guess my solution works but the test array must be to big.

  • Custom User Avatar

    I have different PHP solutions for this issue but on the last test i get a memory issue because of the large test data.

    Somebody had the same problem and can help me towards the right solution?