1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
siniylev [52]
3 years ago
7

Suppose we perform a sequence of n operations on a data structure such that if some condition C(k) holds then the kth operation

takes O(k) time, but otherwise it only takes O(1) time. For each condition C(k) listed below, determine the total time T(n) for the sequence of all n operations, and also the amortized time Tamortized(n) per each operation
a) If C(k) is "k is a power of 3" then T(n)-O(n4/) and Tamortized(n) O(n13).
b) If C(k) is "k is a multiple of 2" then T(n)-O(n) and Tamortized(n)=O (1).
c) If C(k) is "k is a perfect square" then T(n) O(n4/3) and Tamortized(n)=O(n13). O
d) If C(k) is "k is a multiple of 2" then T(n)=O(n2) and Tamortized(n)=O(n)
Computers and Technology
1 answer:
GrogVix [38]3 years ago
7 0

Answer:

stay home, stay safe, dont get corona virus

Explanation:

You might be interested in
What kind of fragment is near the computer?
Snezhnost [94]

Answer: C)Prepositional phrase

Explanation: Prepositional phrase is the the phrase that defines the relation between the word with noun or pronoun.The mostly used phrase are  about, near, before, after, in etc. and then the word/object is used in the phrase .

Other given options are incorrect because independent clause is the clause not dependent on others, subordinating conjunction display the connection between two clauses and predicate is the part of the clause.Thus the correct option is option is option(C).

8 0
3 years ago
How can the use of new technology in industry benefit the us government
Karo-lina-s [1.5K]
It Can Benefit Them Because This Generation Uses Technology And Such We Don't Live In A Primary Source World Where We Write Letters And Send Them Away To Where Ever Country , We A Secondary Country Because Now We Use Technology And We Are More Advance With Things Which Benefits Us Even More In Bigger And Better Ways
5 0
3 years ago
Read 2 more answers
Which storage device is not recommended as a permanent storage solution?
Brut [27]

Answer:

In comparison to permanent storage, non-permanent storage, also called volatile memory, is a storage device whose data is lost when its power source is disconnected. Examples of non-permanent storage include CPU cache and RAM.

Explanation:

i just know

8 0
2 years ago
An Internet user has a need to send private data to another user. Which of the following provides the most security when transmi
Nezavi [6.7K]

Answer:

C. Sending the data using public-key encryption

Explanation:

Encryption is the only choice that provides security.

6 0
3 years ago
Read 2 more answers
What are input masks most useful for in data validation? moving data from one field to another hiding parts of a value that are
tia_tia [17]

Answer:

Ensuring Consistent Formatting of Values in a Specific Field

Explanation:

6 0
3 years ago
Read 2 more answers
Other questions:
  • Compare and contrast how the roles of women and men in society are changing​
    14·1 answer
  • Briefly describe the client/server model.
    8·1 answer
  • Digital libraries are often available to students and/or employees at colleges, schools, and BLANK institutions.
    15·1 answer
  • What does the history feature in a web browser do
    10·1 answer
  • In the textbox below, write an email that you, as an administrative assistant at Techno Inc., would write to request information
    7·1 answer
  • Which option is referred to by the Reports Due tag?
    7·1 answer
  • The costs incurred when a firm buys on the marketplace what it cannot make itself are referred to as
    6·1 answer
  • 4.7 code practice question 2 edhesive i cant figure out the code for this problem csn anyone help me?
    5·1 answer
  • What is data science?​
    15·1 answer
  • Customer history is an example of what
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!