Размер видео: 1280 X 720853 X 480640 X 360
Показать панель управления
Автовоспроизведение
Автоповтор
Your content is sooo underrated.
2:16 complexity of constructor is O(1) - it doesn't matter how many elements we just save them without any iteration
Genius
I've an interview tomorrow...and can't come up with that optimised approach🫥
in python:return sorted(nums)[-k]
Your content is sooo underrated.
2:16 complexity of constructor is O(1) - it doesn't matter how many elements we just save them without any iteration
Genius
I've an interview tomorrow...and can't come up with that optimised approach🫥
in python:
return sorted(nums)[-k]