Customer Service Chat
Get quote & make Payment
Write a program that finds the minimum total number of shelv, C/C++ Programming
At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with these names could be kept in that shelf as in this example: bottom of shelf ---> [AAAJKRDFDEWAAYFYYKK]-----Top of shelf. All these packets are to be loaded on cars. The cars are lined in order, so that the packet could be loaded on them. The cars are also named [A, B, C, D, E,………….]. Each Car will load the packet with the same alphabet. So, for example, car ‘A’ will load all the packets with name ‘A’. Each particular car will come at the loading point only once. The cars will come at the loading point in alphabetical order. So, car ‘B’ will come and take all the packets with name ‘B’ from the shelf, then car ‘C’ will come. No matter how deep in the shelf any packet ‘B’ is, all of the ‘B’ packets will be displaced before the ‘C’ car arrives. For that purpose, some additional shelves are provided. The packets which are after the packet B, are kept in those shelves. Any one of these shelves contains only packets, having the same name. For example, if any particular shelf is used and if a packet with name X is in it, then only the packets having names X will be kept in it. That shelf will look like [XXXXXXX]. If any shelf is used once, then it could be used again only if it is vacant. Packets from the initial shelf could be unloaded from top only. Write a program that finds the minimum total number of shelves, including the initial one required for this loading process.
Posted Date: 8/30/2012 2:15:46 AM | Location : United States
Ask an Expert
Write a program that finds the minimum total number of shelv, Assignment Help, Ask Question on Write a program that finds the minimum total number of shelv, Get Answer, Expert's Help, Write a program that finds the minimum total number of shelv Discussions
Write discussion on Write a program that finds the minimum total number of shelv
Your posts are moderated
Write your message here..
#decode the code, #program code
Described overriding?, In order to override a method, a subclass of the cla...
In order to override a method, a subclass of the class which originally declared the method have to declare a method along with the same name, return type (or a subclass of that re
Loops, how to make a diamond from steric
how to make a diamond from steric
Blackjack Game help, I can''t figure out how to stop the programming from h...
I can''t figure out how to stop the programming from hitting for the player even when they type in stand.
Where are longjmp and setjmp used in c++, Where are longjmp and setjmp used...
Where are longjmp and setjmp used in C++? -Setjmp and longjmp must not be used in C++. - Longjmp jumps out of the function without unwinding stack. This means that local obj
Luminious jewel polishing necklace, program and solution for the above ques...
program and solution for the above question
Boardcoloring., Smugglers are becoming very smart day by day. Now they have...
Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send
Program to display asterisks in the shape of a plus sign, Write a program c...
Write a program called plus that will display asterisks in the shape of a plus sign which has the height and width specified by the user. You must only allow entry of an odd numb
What is default constructor, What is default constructor
What is default constructor
Hw8, Asks the user for an integer. if the number is less than 21, ask them ...
Asks the user for an integer. if the number is less than 21, ask them for a number again; repeat this until you get a number bigger than 20. 20 is not an acceptable number. Once yo
Accounting Assignment Help
Economics Assignment Help
Finance Assignment Help
Statistics Assignment Help
Physics Assignment Help
Chemistry Assignment Help
Math Assignment Help
Biology Assignment Help
English Assignment Help
Management Assignment Help
Engineering Assignment Help
Programming Assignment Help
Computer Science Assignment Help
Why Us ?
~24x7 hrs Support
~Quality of Work
~Time on Delivery
~Privacy of Work
Human Resource Management
Literature Review Writing Help
Terms & Conditions
Copyright by ExpertsMind IT Educational Pvt. Ltd.