IBM HACKERRANK CODING SOLUTIONS
Open in Telegram
We provide help for all Exams... Anyone can contact me @AK_Coder for Exam clearance and interviews Trusted ✅
Show moreThe country is not specifiedThe category is not specified
4 420
Subscribers
No data24 hours
No data7 days
No data30 days
Posts Archive
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