build a program in any programming language as described
€8-30 EUR
Bezahlt bei Lieferung
You run an Airline that has several planes that fly to different destinations around the world. You
pride yourself on having a high customer satisfaction with those that fly with you. This you
achieve by ensuring that:
● Groups of travellers are seated together on the same row.
● Providing travellers with a window seat if request.
To determine the best sitting arrangements on the flight create a program that takes an input file
as a command line argument and prints the results to standard out. An example input file is: 4
4
1W 2 3 4 5 6 7 8 9 10 11W
12W 13 14 15 16
The first line specifies the dimensions of the plane. The first digit is the number of seats in a row
and the second digit is the number of rows on the plane.
Each subsequent line describes a group of travellers. For example, the first line of travelers
describes a group of three where the first traveller has a preference for a window seat. Each
number uniquely identifies the traveller on the flight.
The output for the above file should be:
1 2 3 8 4 5 6
7 11 9 10 12
13 14 15 16
100%
The program should aim to maximize customer satisfaction. The last line in the above output
indicates the percentage of customers that have had their preferences satisfied. If the plane is
over subscribed the program should aim to maximize customer satisfaction of those customers
waiting for the flight.
When you are submitting your program please provide a brief description of the approach in a
[login to view URL] file and zipped folder that includes a buildable project with the source code and
appropriate tests.
Projekt-ID: #18464170
Über das Projekt
Vergeben an:
Hi There, Just studied your requirement. i can do this in java, C++, C# and in other languages if you want. Kindly share more test cases and drop a message in the chat window so that we can start working on it. I ha Mehr
11 Freelancer bieten im Durchschnitt €55 für diesen Job
Hi I am a very experienced statistician, data scientist and academic writer. I have completed several PhD level thesis projects involving advanced statistical analysis of data. I have worked with data from several comp Mehr
I have read your requirement, I can do your job in Java and C++ and assure you that I will give you best quality work and will try to give it to you as soon as possible. Lets discuss further in chat.
Hi! Not a very complicated task for experienced developer. Can be done within one day. Feel free to contact me via chat.
This is a fairly simple project. I can produce an easy-to-understand, well-documented implementation in Python and deliver it to you as described. You will likely have the finished product well before my three-day dead Mehr
We're startup company with experience in development of enterprise applications and websites. If you're interested in our services please contact us so we can discuss your needs.