Solution to Longest-Password by codility

22 Sep


Question Name: Longest-Password or LongestPassword

The solution could be more Pythonic with some additional space.

5 Replies to “Solution to Longest-Password by codility

  1. The extra code on checking the last possible word could be avoided if you don’t mind an infinite loop wrapper ^_^

  2. All in one line? Zen of Python or Evil of Python? 🙂

  3. Also did Scala, take quite some time and didn’t find an one line solution…

  4. My C++ solution.

  5. My c# solution:

Leave a Reply

Your email address will not be published. Required fields are marked *

Please put your code into a <pre>YOUR CODE</pre> section. Thanks and Happy Coding!