Write a program that takes custom order as an input and sort the given strings according
to this order. All strings are uppercase letters in that question. Please use the starter
template we are provided.
Q2) Investors place buy and sell orders for a particular stock on an electronic exchange, speci-
fying a maximum buy or minimum sell price that they are willing to pay, and how many
shares they wish to trade at that price. Develop a program that uses priority queues to
match up buyers and sellers and test it through simulation. Maintain two priority queues,
one for buyers and one for sellers, executing trades whenever a new order can be matched
with an existing order or orders. Your program takes a .txt le which is containing the
orders in each line and also create a output le to show trades between buyers and sellers.
In the input le, rst column specify the trade type, second column represent specic id
for each buyer or seller, third column represent number of share and last column specify
minimum selling price for sellers or maximum buying price for buyers. Notice that priority
for sellers is one who gives lowest price and for buyers is one who gives highest price. Please
use the starter template we are provided.
Hello, I am expert in java/c/c++ and i can deliver your task in the least time and least payments. The code will be well commented and well formatted for better understanding. I believe in long term relations so first check your work then release the payments.
Pm me for further details. Thank You!
Hello, Sir Weebside Inc. is a professional freelancer service provided to worthy clients like you.
We can provide our best developers to provide you High-Quality Product with 100% Delivery Rate, 100% Satisfaction.
Having Experts made us capable to bid here.
We can provide any service of any caliber within Hours.
CHAT WITH US TO START RIGHT NOW.
BEST DEVELOPERS AROUND. WITH HIGHEST QUALITY DELIVERED WITHIN TIME. WITHIN BUDGET.
CLICK CHAT TO START
Hi
I am a Java developer with over 5 years of experience. Two of those are in the UK. Please refer to my profile for more information.
According to the description this is a school project. I can get this done within a couple of hours max if you're in a hurry. I am free at the moment so let us have a chat about the project.
Cheers,
Saminda
Hi, I am really good java. I might be of great help to you :) I have a lot of national level programming prizes. Currently I am a PhD student. I will look forward to working with you :)
-- Vijeth J K
Hi there,
I am an expert in java Programming with more than 7 years of expertise.
You can watch out my reviews on tutorindia , tutorz etc.
I will give you this assignment on a minimal price and at the earliest.
Pl;ease contact me to discuss the details.