Ad
  • Custom User Avatar

    Fixed

  • Custom User Avatar

    Fixed

  • Default User Avatar

    Please fix this Kata

  • Custom User Avatar
  • Default User Avatar

    Thnx for your comment. I have tried to solve this issue, but did not succeed. Any help appreciated for resolving the issue. JvS

  • Custom User Avatar

    Thanks! It was late when I was finishing the description :) Fixed. Great solution by the way, better than mine. Good Job!

  • Custom User Avatar

    Issue fixed, please test.
    If no problem, please mark issue as resolved, thanks ;-)

  • Custom User Avatar

    I think you should build a validate solution in the test code, instead of call StringCombat.combat2 to check user's solution ;-)

  • Custom User Avatar

    I think that the messy part you're referring to is that I incorporated two discrete solutions in the solution panel instead of keeping one in the tests for validation purposes. I fixed that and a few other things. Unfortunately I could not publish the changes due to the server timing out on me repeatedly. I will try again tomorrow.

    If you find other parts that can or need to be improved, especially Java8-wise please do not hesitate to suggest hints. Throwing an unuseful remark that someone's code is messy does not really help anyone be a better programmer!

  • Custom User Avatar

    Yes, you are right, java version has some problem.
    But unfortunately, this is a translated version, I of Java is not very good, and his code is very messy, so I do not have the ability to revise it, please wait for the translator to modify. Very sorry.