Go offline with the Player FM app!
When You Have to Throw Eggs From the Rooftop: Daily Coding Problem
Manage episode 387361888 series 3474159
This story was originally published on HackerNoon at: https://hackernoon.com/when-you-have-to-throw-eggs-from-the-rooftop-daily-coding-problem.
Calculate the minimum floor of a building from which eggs will break when thrown from it.
Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #coding, #math, #daily-coding-problem, #golang, #algorithms, #problem-solving, #binary-search, #hackernoon-top-story, #hackernoon-es, #hackernoon-hi, #hackernoon-zh, #hackernoon-fr, #hackernoon-bn, #hackernoon-ru, #hackernoon-vi, #hackernoon-pt, #hackernoon-ja, #hackernoon-de, #hackernoon-ko, #hackernoon-tr, and more.
This story was written by: @nicolam94. Learn more about this writer by checking @nicolam94's about page, and for more stories, please visit hackernoon.com.
Calculating the minimum floor of a building from which the eggs thrown from it will break falling to the ground. Two solutions are shown: a brute force one and a solution implementing binary search.
346 episodes
Manage episode 387361888 series 3474159
This story was originally published on HackerNoon at: https://hackernoon.com/when-you-have-to-throw-eggs-from-the-rooftop-daily-coding-problem.
Calculate the minimum floor of a building from which eggs will break when thrown from it.
Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #coding, #math, #daily-coding-problem, #golang, #algorithms, #problem-solving, #binary-search, #hackernoon-top-story, #hackernoon-es, #hackernoon-hi, #hackernoon-zh, #hackernoon-fr, #hackernoon-bn, #hackernoon-ru, #hackernoon-vi, #hackernoon-pt, #hackernoon-ja, #hackernoon-de, #hackernoon-ko, #hackernoon-tr, and more.
This story was written by: @nicolam94. Learn more about this writer by checking @nicolam94's about page, and for more stories, please visit hackernoon.com.
Calculating the minimum floor of a building from which the eggs thrown from it will break falling to the ground. Two solutions are shown: a brute force one and a solution implementing binary search.
346 episodes
All episodes
×Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.