Question: -----------------(subject: Data structure and algorithm C++) Q1. Suppose your system is storing market data to analyze and found under-valued or over-valued stocks to make a

-----------------(subject: Data structure and algorithm C++)

Q1.

Suppose your system is storing market data to analyze and found under-valued or over-valued stocks to make a buying or selling decision, and you need to store only recent market data for that purpose. Now this gives us an idea, that as soon as we receive an update, we should discard old market data, even if its not yet processed and keep the system concurrency and balancing. suppose the undervalued stock numbers are:45,30,12,50,42,19 and over valued stock number are:2,3,6,82,60,14. And the data elements that should be updated are 50,30,82 with16,32, and 68 respectively. Understand the above mention scenario, which non-linear data structure is used for it. Also perform some basic operation of that data structure with old as well as updated data elements.

--------

Q2:

A table stores the data for all the members of an exotic resort. Members are identified by these numbers 1,5,30,70,80,20,15,100,40,25,7,3,8,33,22. All members are to be invited in a meeting to review the membership policies. What will be the fastest way to call all the members? Write algorithm to justify your answer.

-----------------(subject: Data structure and algorithm C++)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!