Question: Hi, would someone please be able to help me with this java code? It is part of a bigger class, but I am coding a

Hi, would someone please be able to help me with this java code? It is part of a bigger class, but I am coding a warehouse where you can put boxes in shelves. I am trying to:

Find the smallest shelf with enough space available for the box given in argument, add the box on this shelf and return the noProblem message. If there is no such shelf, do not do anything to the warehouse and return the problem message.

I thought maybe I could use mergeSort, but I don't know where to start. If anyone could help, it would be great, thanks!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!