Ad
  • Custom User Avatar

    getting stuck here... can anyone help me where i am getting it wrong

    random tests : expected:<E[RROR]> but was:<E[STABLISHED]>

    fixed tests : expected:<[ERROR]> but was:<[FIN_WAIT_1]>

  • Custom User Avatar

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

  • Custom User Avatar

    please atleast explain the problem statement clearly with more examples. How its been processing. This is an example of bad problem statement. This is the problem with codewars, something topcoder, codechef & hackerrank does it very good.

  • Custom User Avatar

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

  • Custom User Avatar

    you should always specify the constraints regarding each question, something which topcoder does brilliantly.

    1. How much commentSymbols can be passed ? is it always 2 or may vary ?
    2. what symbols can be passed probably like always special characters or other than that.
    3. does string always include newline character ?

    also the question doesn't clearly well stated. Its so confusing becus of that, we need to take care of every boundary conditions which makes us to ask such questions.

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

    Input goes upto Max integer value in java i.e. 2^31. I need to optimise my code according to those higher values.

  • Custom User Avatar

    I am passing all Test cases , but it is showing :-

    Execution timeout 16000ms. Don't know about the input limits. how to work with larger numbers ?