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