Ad
  • 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.

  • Default User Avatar

    The Kata is wrong. Either you were trying to ask the question- if there are 5 ppl infront of you, which position are you in (6th) - or- you were trying to make the question- from the 8th position from the left there are 5 people infront of the 8th position and from the 9 position from the right there are 2 people towards the right of the 9th position guy.