# 8 questions help thank you

*label*Programming

*timer*Asked: Dec 16th, 2017

*account_balance_wallet*$40

**Question description**

please help with these 8 questions thank you it's due in two hours take a look at the attachments I provided thank you so very much please asa

## Tutor Answer

Hi, here's the solution. Have a look at it.

1. a) Complexity for algorithm 1 - O(n)

Complexity for algorithm 2 - O(n)

b)

2. The function accepts an array of generic type. If the type is of Integer, the algorithm

calculates the sum of the integer elements in the array. If the type is of Double, the al...

*flag*Report DMCA

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors