Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions