528. Random Pick with Weight (python) - Day 5/30 Leetcode June Challenge

preview_player
Показать описание
Larry solves and analyzes this Leetcode problem as both an interviewer and an interviewee. This is a live recording of a real engineer solving a problem live - no cuts or edits!

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

could also use bisect IIRC and not have to write your own binary search. Thanks as always!

SuperArjun
Автор

Were you able to get this correct on the first go?

Algorithmist
visit shbcf.ru