When You Have to Throw Eggs From the Rooftop: Daily Coding Problem
2023-12-2 23:0:9 Author: hackernoon.com(查看原文) 阅读量:8 收藏

Search icon

Hackernoon logoHackernoon logo

see notifications

Notifications

see more

    Hackernoon logo

    When You Have to Throw Eggs From the Rooftop: Daily Coding Problem by@nicolam94

    Open TLDRtldt arrow

    EN

    Read on Terminal Reader

    Too Long; Didn't Read

    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.

    featured image - When You Have to Throw Eggs From the Rooftop: Daily Coding Problem

    Nicola Moro HackerNoon profile picture


    @nicolam94

    Nicola Moro


    Developer, math enthusiast, D&D wizard. The first two only in role play games.


    Receive Stories from @nicolam94

    react to story with heart

    RELATED STORIES

    L O A D I N G
    . . . comments & more!


    文章来源: https://hackernoon.com/when-you-have-to-throw-eggs-from-the-rooftop-daily-coding-problem?source=rss
    如有侵权请联系:admin#unsafe.sh