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