IBM HACKERRANK CODING SOLUTIONS
前往频道在 Telegram
We provide help for all Exams... Anyone can contact me @AK_Coder for Exam clearance and interviews Trusted ✅
显示更多未指定国家未指定类别
4 420
订阅者
无数据24 小时
无数据7 天
无数据30 天
帖子存档
Fadi has planted N flowers in his garden. The garden can be represented as a number line. Flower number i is at coordinate X₁.
Fadi wants to install K garden sprinklers. All sprinklers have a common radius R such that if Fadi installed a sprinkler at coordinate S the sprinkler waters all flowers in the range [S-R, S+R].
Your task is to help Fadi to choose the minimum R such that he can water all his flowers by spreading K sprinklers in his garden.
Can anyone help me with this code.
Hi Anas., Welcome to ALL EXAM DISCUSSION group
🗓 Today : Monday 31 January 2022
⏰ Hour : 15:20
This message will be deleted after 3 minutes