![CharmPen's Learning Notes](/img/default-banner.jpg)
- Видео 10
- Просмотров 20 054
CharmPen's Learning Notes
Добавлен 18 фев 2017
[Algrithm Design] Number of Music Playlists #leetcode
Recursive algorithm to search the lists/the number of lists.
Songs are divided into two groups, used and unused. For each step, by choosing a used song or an unused song, the code transfers to the corresponding status and moves to the next step.
#python3 #leetcode
Songs are divided into two groups, used and unused. For each step, by choosing a used song or an unused song, the code transfers to the corresponding status and moves to the next step.
#python3 #leetcode
Просмотров: 0
Видео
[Algrithm Design] Minimum Speed to Arrive on Time
Просмотров 3Год назад
#python3 #leetcode After estimating the speed range, the algorithm searches for the minimum speed to fulfil requirements. An interesting bug with 'ceiling' is found. Although the code passes all tests, 'ceiling' operations should require further improvement.
[Algrithm Design] Maximum Number of Events That Can Be Attended II
Просмотров 2Год назад
#python3 #leetcode
[Algrithm Design] Longest Subarray of 1's After Deleting One Element
Просмотров 6Год назад
As title. The basic idea is to split the array by '0' and count 1's in each subarray. #leetcode #python3
[Algrithm Design] K Radius Subarray Averages
Просмотров 2Год назад
Simply loop through the array, and calculate the sum for each segment, then divide by the segment length. To overcome the time limit, accumulate the code by updating the current segment sum based on the previous segment. #python3 #leetcode
[Algrithm Design] Number of Increasing Paths in a Grid
Просмотров 10Год назад
Recursive algorithm to search the paths. A buffer is adopted to reduce the duplication of searching. #python3 #leetcode
[Algrithm Design] Maximum Level Sum of a Binary Tree
Просмотров 6Год назад
Two ways to solve the problem. Both of them are easy to understand. #python3 #leetcode
Código of midea?
There is lock icon it doesn't goes off and I am unable to change temperature and AC code 😮
Not working
Kereennn..its work🎉