There is an n × n grid of squares. Each square is either special, or has a positive integer cost assigned to it. No squa

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

There is an n × n grid of squares. Each square is either special, or has a positive integer cost assigned to it. No squa

Post by answerhappygod »

There is an n × n grid of squares. Each square is eitherspecial, or has a positive integer costassigned to it. No square on the border of the grid isspecial.A set of squares S is said to be good if it does not contain anyspecial squares and, starting fromany special square, you cannot reach a square on the border of thegrid by performing up, down,left and right moves without entering a cell belonging to S.
1) In the following diagram, squares are labelled ‘X’ if theyare special, otherwisethey are labelled by their cost. Identify a good set of squareswith minimum total cost for thisparticular grid.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply