Light Mode
Dark Mode
Problem conditions are wrong

In the problem page, it says that 1 < |text| <= 20, but if you don't do it as 1 <= |text| <= 20, it will show an error for the example longest_palindromic("1") == "1", as it should be null with the conditions they give you in the first place.

Can someone fix this please? It is not a huge problem, but it could confuse a lot of people trying to solve this problem.

Created: Dec. 18, 2018, 12:20 a.m.
Updated: Dec. 21, 2018, 11:42 a.m.
1
9
User avatar
albertomartinez73.r