Koko Eating Bananas - Binary Search - Leetcode 875 - Python|Javascript- Google | Mircrosoft Question
Python DSA 50+Hour Course on Udemy | Structured Prep π₯ https://www.udemy.com/course/python-data-structures-algorithms/?referralCode=C6CFAD6E7BD822637066 JS DSA 50+Hour Course on Udemy | Structured Prep π₯ https://www.udemy.com/course/javascript-data-structures-algorithms/?referralCode=6FD34D79954F1F4B608E Leetcode https://leetcode.com/problems/koko-eating-bananas/ To get the Slides: Fill the GoogleForm and comment "I want slide" and I will share it. I am planning to add future questions to the same slides to easily make it accessible https://docs.google.com/forms/d/e/1FAIpQLScx5O3Nv_zIW2okH5yVpX65wDFvaQ6UMDPi5rg6AraXpRpnPw/viewform?usp=sharing 00:00 Intro 00:08 Understanding the Question 01:20 She cannot change a pile within an hour 02:31 How to get the slides 03:04 Observations 04:02 Size of piles array has to be less than or equal to h . Using this we find the max value for k 08:17 What is the min possible speed(k) ? 09:57 Intuition for the Brute force approach 11:25 How to find the hours needed to eat the bananas at a certain speed ? 13:20 Summarising the Brute force approach 15:00 Time and Space Complexity of the Brute force approach 16:09 Optimal Approach 17:34 Time and Space complexity of the Optimal approach 18:51 Binary Search walkthroug 23:56 Interesting: 2 ways of Binary Search 25:39 Python Code 29:28 Javascript Code 32:46 how to study DSA in a structured manner ?
Download
0 formatsNo download links available.