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
Igoryamba
4 years ago
13

There are generally two ways of implementing dynamic programming solutions to problems, which have equal asymptotic time complex

ities. (The details of the problem may determine which is better in a given situation). What are they?
Select two:
1) Bottom-up
2) Left-to-right
3) Right-to-left
4) Top-down
Computers and Technology
1 answer:
san4es73 [151]4 years ago
8 0

Answer:

1) Bottom-up

2) Top-down

Explanation:

In general dynamic programming is a divide and conquer strategy which can be implemented using bottom up approach or top down approach.

Bottom-up approach in dynamic programming will solve a relatively simple sub-problem first and then use the solution to build and arrive at solutions to a bigger sub-problem.

Top down approach is reversed to bottom-up approach and is also known as Memoization Method. Instead of solving a problem started from the base state sub-problem, the top down approach break a problem into a smaller problems from the top most destination state until it reaches the bottom most base state.

You might be interested in
Write a program that allows a user to input words at the command line. Your program should stop accepting words when the user en
vladimir1956 [14]
Hey How are you fine?
3 0
4 years ago
Write a while statement that prints all even numbers between 1 and 100 to the screen.
Marrrta [24]

Answer:

Following are the while loop in c language.

while(i<100)

   {

if(i%2==0)

{

printf("%d",i);

printf("\n");

}

++i;

 }

Explanation:

Following are the code in c language.

#include<stdio.h> // header file

int main() // main function

{

   int i=1; // variable declaration

   while(i<100) // check the condition between 1 to 100

   {

if(i%2==0) // check that number % 2 ==0

{

printf("%d,",i); // print the number

}

++i;

 }

   return 0;

}

Output:

2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,

 

8 0
3 years ago
After making a PowerPoint presentation about a new line of clothing designs, Henri notices that he used the word “gorgeous” on n
sineoko [7]

The spell checker and thesaurus are not underneath the view tab, so 1 and 2 are wrong.

If you replace every instance of the word gorgeous, then you would not be adding variety. So d is incorrect.

Therefore:

The only correct answer is C, as it is correct navigation and it adds word variety.

8 0
4 years ago
Use the Internet identify a problem that social media was used to solve. The problem may be local, national, or global.
ExtremeBDS [4]
What are my options?
5 0
3 years ago
Which term refers to the dimensions of an images? For example, a widescreen is
OverLord2011 [107]
The answer is Video Codec
7 0
3 years ago
Other questions:
  • How to create a delete button in Python?
    15·1 answer
  • Please help!!!!<br> Data means only facts. <br> A. TRUE B. FALSE
    14·1 answer
  • What is illegal to search on the internet?
    5·1 answer
  • Which network component allows computers to communicate on a network without being connected directly to each other?
    9·1 answer
  • What is the main advantage of using DHCP? A. Allows you to manually set IP addresses B. Allows usage of static IP addresses C. L
    8·1 answer
  • After you identify and subdivide all of the data elements for a database, you should group them by the entities with which they’
    10·1 answer
  • Classify the following skills: communication, creativity, and independence.
    15·1 answer
  • Edhisive 3.5 code practice
    9·1 answer
  • How did transistors revolutionize the world of computers?
    15·1 answer
  • ________ involves disconnecting individual users from their selected internet service providers and redirecting them to illegiti
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!