Number of Senior Citizens - Leetcode 2678 - Python

preview_player
Показать описание


0:00 - Read the problem
0:30 - Drawing Explanation
2:11 - Coding Explanation

leetcode 2678

#neetcode #leetcode #python
Рекомендации по теме
Комментарии
Автор

Who else knew the solution beforehand but still watched the video ✊

omega_sine
Автор

surprised how simple this one was, used to longer solutions lately

akinhwan
Автор

We can use list comprehensions to make it more pythonic:

return len([c for c in details if int(c[11:13]) > 60]), len() is O(1)

hyperzhi
Автор

Thank you for daily Leetcode solutions. If possible, please try to upload GFG POTDs also.

Sathvik
Автор

whenever you post these, i try myself first. had to ask claude about swift's string parsing API's so didn't count this as a success, but like 80% success. But I learned something

then I watched you do it in python

guitaripod
Автор

Leetcode python + gfg python needed bro ❤ love you for ur efforts

venkatexplorermetturdam
Автор

Congratulation on getting featured by prime today.

SalmanZaman
Автор

He totally missed that the conversion to int is useless.

redorange
Автор

This says that I'm not getting an August badge.

samarthjain
welcome to shbcf.ru