Ad
  • Default User Avatar

    int shortestWordLength = s.length()/2; this should be without "/2" -> int shortestWordLength = s.length(); ..."/2" was from my old code :/

  • Default User Avatar

    Oops, i forgot the condition "and will, of course, return you to your starting point". My solution only verifies, that the walk is 10 min long but not that you will return at the startpoint. Idk why it accepeted my solution too... :S