Ask Question
29 October, 10:15

There are generally two ways of implementing dynamic programming solutions to problems, which have equal asymptotic time complexities. (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

+1
Answers (1)
  1. 29 October, 11:54
    0
    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.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “There are generally two ways of implementing dynamic programming solutions to problems, which have equal asymptotic time complexities. (The ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers