Advance data-structures

Quiz
•
Business
•
University
•
Hard
Eben Sophia Paul
Used 18+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Dynamic Programming is often used for (choose all that apply):
Optimization problems that involve making a choice that leave one or more subproblems to be solved.
Problems previously solved using divide and conquer that have over lapping subproblems
Non polynomial solution problems
Subproblems where resources are shared
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
.................technique doesn't give guarantee that our solution is optimal
greedy method
dynamic programming approach
backtracking
branch and bound
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following problems is equivalent to the 0-1 Knapsack problem?
You are given a bag that can carry a maximum weight of W. You are given N items which have a weight of {w1, w2, w3,…., wn} and a value of {v1, v2, v3,…., vn}. You can break the items into smaller pieces. Choose the items in such a way that you get the maximum value
You are studying for an exam and you have to study N questions. The questions take {t1, t2, t3,…., tn} time(in hours) and carry {m1, m2, m3,…., mn} marks. You can study for a maximum of T hours. You can either study a question or leave it. Choose the questions in such a way that your score is maximized
You are given infinite coins of denominations {v1, v2, v3,….., vn} and a sum S. You have to find the minimum number of coins required to get the sum S
None of the mentioned
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If b is the source vertex, what is the minimum cost to reach f vertex?
8
9
6
4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
...........................technique is used by solving optimization problems
divide and conquer
greedy method
dynamic programming
both b and c
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is/are property/properties of a dynamic programming problem?
Optimal substructure
Overlapping subproblems
Greedy approach
d) Both optimal substructure and overlapping subproblems
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Chapter 3, 5

Quiz
•
University
15 questions
Review Manajemen Kuantitatif

Quiz
•
University
20 questions
Interpersonal Communication Skills

Quiz
•
University
23 questions
Chap 5: Pricing

Quiz
•
University
15 questions
Level 2 : CU6 (Activity 1,2, 3) Cash Handling Policy Quiz

Quiz
•
University
15 questions
Entrepreneurship Quiz

Quiz
•
University
20 questions
PRICOS Endterm Quiz #1

Quiz
•
University
21 questions
MCQ_1

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade