Search Header Logo

Dynamic programing 2

Authored by 21520474 LêHoàiThương_17

Computers

University

Used 2+ times

Dynamic programing 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The solution for TSP problem using bitmask-DP has the complexity:

N3

N!*N

N2*2N

2N*N

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of following are a technique used to optimize DP?

(Multiple choices)

Gradient descent

Open and Close interval trick

Knuth's Optimization

max flow

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does dynamic programing want to optimize?

Money

Time complexity

Memory

Number of code line

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is overlapping subproblems ?

A. It refers to the occurrence of subproblems that share common sub-subproblems during the computation.

B. An other name of divide and conquer

C. A property of problems where the optimal solution can be derived from the optimal solutions of its subproblems

D. Don't know

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which problems can be solved by dynamic programing?

Problems that can be solved using divide and conquer.

Problems that can be solved recursively.

Problems that have optimal substructure and overlapping subproblems.

Problems that have optimal substructure or overlapping subproblems.

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which problems below can be solved by dp on tree?

Find the shortest path between 2 vertices in a graph

Find tree diameter

Optimal binary search tree

Finding minimum spanning tree

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tabulation is an approach in dynamic programming that involves:

A. Storing computed solutions in a table or array.

B. Using recursion to solve subproblems.

C. Rearranging elements in a data structure.

D. Finding the maximum or minimum value in a sequence.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?