subject

You are running an art museum. there is a long hallway with k paintings on the wall. the locations of the paintings are l1, lk . these locations are real numbers, but not necessarily integers. you can place guards at locations in the hallway, and a guard can protect all paintings within 1 unit of distance from his location. the guards can be placed at any location, not just a location where there is a painting. design a greedy algorithm to determine the minimum number of guards needed to protect all paintings.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:50
17. implement the jvm dload instruction for the mic-2. it has a 1-byte index and pushes the local variable at this position onto the stack. then it pushes the next higher word onto the stack as well
Answers: 2
question
Computers and Technology, 22.06.2019 16:10
Drag each label to the correct location on the imagelist the do’s and don’ts of safeguarding your password.keep yourself loggedin when you leave your computer.don’t write your password down and leave it whereothers can find it.share your password with your friends.each time you visit a website,retain the cookies on your computer.use a long password with mixed characters.
Answers: 1
question
Computers and Technology, 22.06.2019 19:10
What a backup plan that you have created in a event you encounter a situation
Answers: 2
question
Computers and Technology, 23.06.2019 02:30
What is the power dissipated by a resistor with a current of 0.02 a and a resistance of 1,000 ? a. 200 w b. 20 w c. 0.4 w d. 4 w
Answers: 1
You know the right answer?
You are running an art museum. there is a long hallway with k paintings on the wall. the locations o...
Questions
question
Mathematics, 28.10.2020 03:20
Questions on the website: 13722367