Grokking the Engineering Manager Coding Interview
Ask Author
Back to course home

0% completed

Vote For New Content
In the python solution, here's a more pythonic way of returning min_length. I al...

Christian Salinas

Jul 18, 2022

In the python solution, here's a more pythonic way of returning min_length. I also just prefer using float('inf') instead of importing math.

return (min_length if min_length != float('inf') else 0)

0

0

Comments
Comments