15
saitama-1
2 11 24
1071/ 1195
Vinh Quang Nguyễn
Last seen 1 year ago
Member for 1 year, 6 months, 19 days
Difficulty Easy
Best reviews / Newest reviews
Single ended-veky 1 1
I like "elif stack:" part. I always check len(stack) in situations like this More
First-Olexiy_Oleksandrovich 1
your code is very clear and easy to understand, i learned a lot from it More
Second-Wartem 1 1
your code is very clear and easy to understand, i learned a lot from it More
Second-mikaeldovbnia 1 1
"return -1 if n > len(array) - 1 " is easier to understand than "len(array) < n + 1" More
Frequency Sorting-inkayat 1
very cool, I've learned alot from this More
Stackless-blabaster
Absolutely beautiful, and amazingly clear, loved this solution! After reading this, I felt I was really limited by my own imagination. Brilliant! More
Second Share-akshaynewbegin
The comparison operator ">=" already returns a Boolean value, so there is no need to convert the result with the "bool" keyword. You can remove this keyword and the result is still correct like this: acceptable_length = 7 def is_acceptable_password(password: str) -> bool: return len More
First-MarkCh
I think your code will look better if written like this. def is_acceptable_password(password: str) -> bool: return len(password)>6 It is not necessary to declare additional variable _correct_length_ More
First-book1978
Your code is very concise and easy to understand. I learned a lot from it More
First-cmr.nazy
your code is very clear and easy to understand, i learned a lot from it More