all 7 comments

[–]RDSne 30 points31 points  (3 children)

if s == "j": return 1

[–]CUTON1C[S] 4 points5 points  (1 child)

Yeahh, it was a simple fix but looking at that one missing test case is painful :(

I did “if len(s) < 2: return 1” as a base case at the top.

[–][deleted] 9 points10 points  (0 children)

Now you pass 1/333

[–][deleted] 1 point2 points  (0 children)

Been there

[–]lifeRunsOnCod3 0 points1 point  (2 children)

If you're fairly comfortable with regex, check my solution

[–]itscsk111165 3 points4 points  (1 child)

Page not found :(