Please Use your keyboard (Don't use handwriting) Thank you..
I need new and unique answers, please. (Use your own words, don't copy and paste)
Discussion Topic: Assume that you are given an unsorted array
that contains 100 items, and you have been asked to write/propose
an efficient searching algorithm. Which algorithm would you choose
and why? What are the possible trad-offs of the selected algorithm
if the array size is increased (e.g., 9000 items)?
I tried my level best to answer this. Is there any improvement required comment to the answer.
Ans:
if the array is unsorted then there is no option then to use linear search.If you want to do multiple search then you can first sort the items and then do binary search.
Choosing the linear search will have the time complexity of (O(n)).
linear search algorithm:
public static int search(int arr[], int x)
int n = arr.length;
for(int i = 0; i < n; i++)
if(arr[i] == x)
return i;
return -1;
if the size of array is increased the time to search an element will increase.
Please Use your keyboard (Don't use handwriting) Thank you.. I need new and unique answers, please....
please Use your keyboard (Don't use handwriting) Thank you.. I need new and unique answers, please. (Use your own words, don't copy and paste) What is the marketability premium? Why should an issuing firm consider paying this premium?
Type your ideas/definitions/examples into the message field to the following discussion prompt: Discussion Topic: Assume that you are given an unsorted array that contains 100 items, and you have been asked to write/propose an efficient searching algorithm. Which algorithm would you choose and why? What are the possible trad-offs of the selected algorithm if the array size is increased (e.g., 9000 items)?
I need new and unique answers, please. (Use your own words, don't copy and paste), Please Use your keyboard (Don't use handwriting) Thank you.. 1. What is a vaccine? Summarize how vaccines work. (Use your own words, don't copy and paste) 2. Which disease still need an effective vaccine? What makes you think so? (Use your own words, don't copy and paste)
Assume that you are given an unsorted array that contains 100 items, and you have been asked to write/propose an efficient searching algorithm. Which algorithm would you choose and why? What are the possible trad-offs of the selected algorithm if the array size is increased (e.g., 9000 items)?
I need new and unique answers, please. (Use your own words, don't copy and paste), Please Use your keyboard (Don't use handwriting) Thank you.. Topic: Gender Gap "Do you think that women's participation to the labor force influences inequality between the sexes? " Use your own words and be sure to support your statements with logic and arguments.
I need new and unique answers, please. (Use your own words, don't copy and paste), Please Use your keyboard (Don't use handwriting) Thank you.. Name and explain the types of thermogenesis ( in details and more expline) Use your own words, don't copy and paste
I need new and unique answers, please. (Use your own words, don't copy and paste), Please Use your keyboard (Don't use handwriting) Thank you.. Explain how the delivery of healthcare services can benefit from automation. (in details) Provide two examples. (in details)
I need new and unique answers, please. (Use your own words, don't copy and paste), Please Use your keyboard (Don't use handwriting) Thank you.. Q1: Discuss the etiology and pathophysiology of hypertension. Q2: Define arrhythmia. Discuss the etiology and pathophysiology of i) bradycardia, ii) tachycardia.
I need new and unique answers, please. (Use your own words, don't copy and paste), Please Use your keyboard (Don't use handwriting) Thank you.. .Discuss the role if microbiology in context to public health for the above topic, explain the different uses and support provided by microbiology in vaccination public health program.
I need new and unique answers, please. (Use your own words, don't copy and paste), Please Use your keyboard (Don't use handwriting) Thank you.. 1-Explain what Repetitive Strain Injury (RSI) is and describe the most common causes. (in details) Use your own words, don't copy and paste 2- Describe the available options used to reduce or prevent RSI in the workplace. (in details) Use your own words, don't copy and paste