Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    This basically means that your code is potentially correct but takes more than 6 seconds to compile and run which is more than the given time i.e. 6 seconds. Basically try and cut the code down into something more smaller and easier for the PC to process and you shouldn't run into this error anymore.

  • Custom User Avatar

    Use result.Trim();

  • Default User Avatar

    'Looks like you've solved it'

  • Custom User Avatar

    User is not active anymore.

  • Custom User Avatar

    i < sortedArray

  • Default User Avatar

    1000 - 1% one hundred times returns 0.

    That's were you are wrong. No issue, the test is correct.

  • Custom User Avatar

    You don't put the spaces back.

  • Custom User Avatar

    You're still doing the same thing, appending 3 starts to the end, try arrayLength - 1

  • Custom User Avatar

    Your solution returns b***i***t***c***o***i***n*** instead of b***i***t***c***o***i***n, which has 3 stars at the end of the word when it only wants them between the letters. Find a way to remove these stars.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    I think you are quite close, too. That's how I started mine :).

    First of all, you should be aware that you wrote var n = str.length, which is why your code is returning the entire length of the string.

    You've already got the part where you split a string. You also know how to call individual objects inside your array. All you have to do is find the length of each object and return the results to an array. Best of luck.

  • Default User Avatar

    Because the test isn't on what the constructor returns upon initialization, it is basically on what this.info contains or returns when it is called.

  • Loading more items...