subject

1, given your understanding of the big oh notation and how it can be applied to the different sorting algorithms, discuss how this knowledge will affect your choice for the most appropriate algorithm for a given problem. if two algorithms have the same complexity in terms of the big oh notation, does that mean they both will perform the same for all problems. support your answers with examples
2 ,compare the two implementations for binary trees: linked lists vs. arrays. discuss the pros and cons for each approach considering the key operations you need to perform for these trees including the different types of traversals.
3 four of the most commonly used sorting algorithms, the selection sort, the bubble sort, the merge sort, and the quick sort, have been presented to you. do some research and post three other sorting algorithms along with detailed analysis in terms of the key operations performed in these algorithms, the time efficiency, the space efficiency and perform a quick comparison among these algorithms identifying when you should pick which algorithm for a particular problem.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 03:30
Some of your friends have gotten into the burgeoning field of time-series data mining, in which one looks for patterns in sequences of events that occur over time. purchases at stock exchanges--what’s being bought-- are one source of data with a natural ordering in time. given a long sequence s of such events, your friends want an efficient way to detect certain "patterns" in them--for example, they may want to know if the four events buy yahoo, buy ebay, buy yahoo, buy oracle occur in this sequence s, in order but not necessarily consecutively. they begin with a collection of possible events (e.g., the possible’ transactions) and a sequence s of n of these events. a given event may occur multiple times in s (e.g., yahoo stock may be bought many times in a single sequence s). we will say that a sequence s’ is a subsequence of s if there is a way to delete certain of the events from s so that the remaining events, in order, are equal to the sequence s’. so, for example, the sequence of four events above is a subsequence of the sequence buy amazon, buy yahoo, buy ebay, buy yahoo, buy yahoo, buy oracle their goal is to be able to dream up short sequences and quickly detect whether they are subsequences of s. so this is the problem they pose to you: give an algorithm that takes two sequences of even~s--s’ of length m and s of length n, each possibly containing an event more than once--and decides in time o(m n) whether s’ is a subsequence of s
Answers: 2
question
Computers and Technology, 22.06.2019 19:20
Consider the following code snippet: #ifndef cashregister_h#define cashregister_hconst double max_balance = 6000000.0; class cashregister{public: cashregister(); cashregister(double new_balance); void set_balance(double new_balance); double get_balance() const; private: double balance[12]; }; double get_monthly_balance(cashregister bk, int month); #endifwhich of the following is correct? a)the header file is correct as given.b)the definition of max_balance should be removed since header files should not contain constants.c)the definition of cashregister should be removed since header files should not contain class definitions.d)the body of the get_monthly_balance function should be added to the header file.
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
To become an audio technician, the most successful tactics might include the following. (select all that apply). learning how to persuade other people gaining different types of experience in audio technology learning as much as possible about art history establishing a reputation as a reliable professional
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
List 3 items that were on kens resume that should have been excluded
Answers: 1
You know the right answer?
1, given your understanding of the big oh notation and how it can be applied to the different sortin...
Questions
question
Chemistry, 08.02.2021 20:20
question
Mathematics, 08.02.2021 20:20
question
Mathematics, 08.02.2021 20:20
question
Mathematics, 08.02.2021 20:20
question
Business, 08.02.2021 20:20
question
Mathematics, 08.02.2021 20:20
Questions on the website: 13722361