Find Jobs
Hire Freelancers

Implement a C++ code for a Priority Queue

₹600-1000 INR

Κλειστή
Αναρτήθηκε περίπου 6 χρόνια πριν

₹600-1000 INR

Πληρωμή κατά την παράδοση
Analysis of Financial Time Series: USD/EGP Exchange Price The daily USD/EGP exchange prices R are available over the period from December 1, 2016 to April 21, 2017 in the file : “[login to view URL]” . Assuming that the average exchange price over the given period is M, a change Ci in a given day (i) is positive when the price rises over M, and it is negative when it drops below that average. From the given data set, we need to find the dates of each of the N most positive changes (e.g. N = 10) as they represent the N highest exchange prices over the whole data set. Likewise, we need to find the dates of each of the N most negative changes (e.g. N = 10) as they represent the N lowest exchange prices over the whole data set. This problem can be solved using Priority Queues where each item is composed of 2 elements: the date and the exchange price change from the average. Priority here is for the price change. We also need to find the start date and the end date of the contiguous period over which the sum of price changes C is maximum. This problem is called the Maximum Subsequence Problem. The problem statement is as follows: Given a sequence of n values (possibly negative), C0, C1, ..., Cn-1, find the values of the indices (i,j) that maximize the value of the sum (This is zero if all values are negative). Example: Suppose the changes in price are: - 0.2, 1.1, - 0.4, 1.3, - 0.5, - 0.2 Smax = C1 + C2 + C3 = 2.0 (hence i = 1 and j = 3) Required Implementations: 1. Implement the PQ class. 2. Find the N highest and N lowest exchange rate days over the whole data set (e.g. N = 10). 3. Implement the Maximum Subsequence Algorithm and find the start and end days of the contiguous period over which the sum of price changes is maximum.
Ταυτότητα εργασίας: 16990857

Σχετικά με την εργασία

10 προτάσεις
Απομακρυσμένη Εργασία
Ενεργός/ή 6 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
10 freelancers δίνουν μια μέση προσφορά ₹1.720 INR για αυτή τη δουλειά
Avatar Χρήστη
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environment. I made many great projects using c++, for example, I made the tools which could convert java codes into c++ scripts, of course garbage collection included, this was very similar to a compiler, and was very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
₹5.000 INR σε 0 ημέρα
4,9 (141 αξιολογήσεις)
7,0
7,0
Avatar Χρήστη
Hello We are highly motivated young technocrats from India. We are approachable, you can come to us if you have a struggle, we are happy to help. Team TiponTongue
₹3.000 INR σε 2 ημέρες
4,9 (28 αξιολογήσεις)
5,2
5,2
Avatar Χρήστη
I have experience in implementing such data structures and algorithms in c++. I would deliver the project within the time constraint.
₹950 INR σε 2 ημέρες
4,6 (1 αξιολόγηση)
0,9
0,9
Avatar Χρήστη
Skills in c++ Presently working with cognizant technologies
₹1.750 INR σε 2 ημέρες
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
Dear sir, I have read your requirement.I have been programming c++ for 2 years.I can do your task quickly and in skilfull way. let me do your task Waiting for your reply Regards
₹650 INR σε 1 ημέρα
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
Hi, okay, I will do it in quoted price. 1250 total. -will use binary heap Lets begin with it. :) Thanks Priyanshu
₹1.250 INR σε 1 ημέρα
0,0 (0 αξιολογήσεις)
0,0
0,0

Σχετικά με τον πελάτη

Σημαία της EGYPT
Egypt
0,0
0
Μέλος από Μαΐ 17, 2018

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.