Data structure HW ASAP
Due 8/31/2016
- List the following function in increasing order:
log
,
!, log
,
- What is the big-O of the following functions: (i) 40
+ 10000
(ii) log
(iii) 0.0001 x
Programming:
1.
· Download and study program P0-0 from MyTSU, build and run it
· Implement Solution_1 and Solution_2 for the prefixAverage problem using two different algorithms (refer slide 44, 45)
· Run for the cases of size = 1,000, 10,000, and 50,000 for both solutions, respectively.
· Conduct a Big-Oh analysis for both solutions (i.e. what is the time complexity of the two algorithms in Big-O, respectively?)
2.
· Download and study program P0-1 from MyTSU, build and run it
· Modify the program so that it can do its original work (Display, Average, Search) for any number of numbers up to MAX_SIZE;
· Add a method that can find the largest number and its position in the array (also for any number of numbers up to MAX_SIZE)
· Add a method that can find the smallest number and its position in the array (also for any number of numbers up to MAX_SIZE)
Requirement for assignment reports
- The cover page must be attached.
- For each programming question, the submission must contain the program itself printed out from Visual Studio, proper description of the program, and running page (screen shot) which shows that the program works for all cases.
- Each program must have proper comments lines for non-trivial so that the instructors can read and understand the program.
10 years ago
15
- essay
- assignment
- Women in international business
- only for soultionasap
- Help 18 for Dental Doctor Only
- What event forced Justinian to start rebuilding parts of Constantinople
- I need someone to do math homework for me it's online , due tonight . I don't have the time...
- Mystical Experiences
- Clancy
- HELP RIGHT AWAY