A construction company is building a new neighborhood hackerrank

Sagot :

The building of a hacker rank is one that cost a lot of money and as such the minimum cost is  4.

What is the minimum cost?

The minimum cost is the lowest cost that is needed to complete a building.  It depends on:

  • The cost of each type of house to be built (e.g. cost of a wood house, cost of a brick house, etc.)
  • The number of the type of house to be built e.g. 2 03 3 or even more.

When one is given input such as : [[1,2,3],[1,2,3],[3,3,1]] (the values in column stands for the cost of materials)

The output : 4

So you have to:

Select  material-1 of cost 1 in first house(row)

Select  material-2 of cost 2 in second house(row)

Select   material-3 of cost 1 in third house (row)

total = 1+2+1 -> 4

Learn more about construction from

https://brainly.com/question/1316149