Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged dynamic-programming
0
0 votes
0
0 answers
525
525 views
UGC NET CSE | June 2023 | Part 2: 57
Match List I with List IIList IList IIA. The running time of straight forward recursive method to compute nth Fibonacci number $\text{Fn}$I. $O (n \left.{ }^{2}\right)$B....
admin
525
views
asked
Jul 28, 2023
Algorithms
ugcnetcse-june2023-paper2
recursion
time-complexity
functions
dynamic-programming
+
–
0
0 votes
0
0 answers
778
778 views
TestBook testSeries dynamic programming and np problem question
Consider the following statements, which of the statement(s) is/are FALSE?The running time of dynamic programming algorithm is always θ (p) where p is number of subproble...
Sahil_Lather
778
views
asked
Jan 28, 2023
Algorithms
algorithms
dynamic-programming
testbook-test-series
+
–
1
1 vote
1
1 answer
806
806 views
TestBook testSeries board game question
Consider a board game in consist of m × n grid. A coin is located at the top-left corner of an m × n grid. The coin can only move either down or right at any point in tim...
Sahil_Lather
806
views
asked
Jan 28, 2023
Programming in C
data-structures
programming-in-c
dynamic-programming
+
–
0
0 votes
0
0 answers
988
988 views
ACE Academy Test Series q #11 || Travelling Salesman
Souvik33
988
views
asked
Oct 30, 2022
Algorithms
dynamic-programming
graph-algorithms
ace-test-series
+
–
1
1 vote
2
2 answers
1.1k
1.1k views
made easy test series
How is the max possible value of n is 12? We will have to store T(0) and T(1) in stack too, so we can call f(11) at max which will require T(10) and T(9) and then we will...
Neelu Lalchandani
1.1k
views
asked
Sep 30, 2022
Algorithms
made-easy-test-series
stack
algorithms
dynamic-programming
+
–
0
0 votes
1
1 answer
1.6k
1.6k views
Dynamic Programming
int max(int a, int b) { return (a b) ? a : b; }// Returns the maximum value that can be// put in a knapsack of capacity Wint knapSack(int W, int wt[], int val[], int n){...
ryandany07
1.6k
views
asked
Aug 18, 2022
Algorithms
algorithms
dynamic-programming
knapsack-problem
+
–
0
0 votes
0
0 answers
557
557 views
Best Open Video Playlist for Algorithm design techniques: Dynamic programming Topic | Algorithm
Please list out the best free available video playlist for Algorithm design techniques: Dynamic programming from Algorithm as an answer here (only one playlist per answer...
Misbah Ghaya
557
views
asked
Aug 17, 2022
Study Resources
go-classroom
video-links
missing-videos
free-videos
dynamic-programming
+
–
11
11 votes
3
3 answers
1.2k
1.2k views
GO Classes CS Test Series | Algorithms | Topic Wise Test 4 | Question: 1
Consider the following recurrence relation which is applicable on two arrays $x$ and $y.\; x_i$ and $y_i$ are the $i^{\text{th}}$ elements of $x$ and $y$ array respective...
GO Classes
1.2k
views
asked
Aug 16, 2022
Algorithms
goclasses_cs_algo_tw4
numerical-answers
goclasses
algorithms
dynamic-programming
longest-common-subsequence
time-complexity
one-mark
+
–
23
23 votes
3
3 answers
1.5k
1.5k views
GO Classes CS Test Series | Algorithms | Topic Wise Test 4 | Question: 2
You are working on a dynamic programming problem defined by the recurrence:\[ A(i, j) = F\!\big( A(\lfloor i/2 \rfloor,\, j),\; A(i,\, \lfloor j/2 \rfloor) \big), \]where...
GO Classes
1.5k
views
asked
Aug 16, 2022
Algorithms
goclasses_cs_algo_tw4
goclasses
algorithms
dynamic-programming
recurrence-relation
one-mark
+
–
15
15 votes
3
3 answers
994
994 views
GO Classes CS Test Series | Algorithms | Topic Wise Test 4 | Question: 3
In bottom-up dynamic programming, we need an order to fill in the solution cells in a table, such that all needed subproblems are solved before solving a subproblem. For ...
GO Classes
994
views
asked
Aug 16, 2022
Algorithms
goclasses_cs_algo_tw4
goclasses
algorithms
dynamic-programming
one-mark
+
–
11
11 votes
4
4 answers
1.4k
1.4k views
GO Classes CS Test Series | Algorithms | Topic Wise Test 4 | Question: 4
Let $X=x_{1} x_{2} \cdots x_{m}$ and $Y=y_{1} y_{2} \cdots y_{n}$ be two strings over the alphabet $\displaystyle{}\Sigma= \{\mathrm{A}, \mathrm{C}, \mathrm{G}, \mathrm{T...
GO Classes
1.4k
views
asked
Aug 16, 2022
Algorithms
goclasses_cs_algo_tw4
goclasses
algorithms
dynamic-programming
longest-common-subsequence
one-mark
+
–
5
5 votes
1
1 answer
443
443 views
GO Classes CS Test Series | Algorithms | Topic Wise Test 4 | Question: 5
Which of the following is/are Longest Common Subsequence for given two sequecnces $\langle 1,0,0,1,0,1,0,1\rangle$ and $\langle 0,1,0,1,1,0,1,1,0\rangle$. $\{1,0,0,1,1,0\...
GO Classes
443
views
asked
Aug 16, 2022
Algorithms
goclasses_cs_algo_tw4
goclasses
algorithms
dynamic-programming
longest-common-subsequence
multiple-selects
one-mark
+
–
8
8 votes
2
answers
2 answers
680
680 views
GO Classes CS Test Series | Algorithms | Topic Wise Test 4 | Question: 6
Consider two teams, $\text{A}$ and $\text{B}$, playing a series of games until one of the teams wins $n$ games. Assume that the probability of $\text{A}$ winning a game i...
GO Classes
680
views
asked
Aug 16, 2022
Algorithms
goclasses_cs_algo_tw4
goclasses
algorithms
dynamic-programming
probability
two-marks
+
–
7
7 votes
1
1 answer
890
890 views
GO Classes CS Test Series | Algorithms | Topic Wise Test 4 | Question: 7
Consider the following $0-1$ knapsack problem with the item's weight and value given in the table.$$\begin{array}{c|cc} \text{item} & \text{weight} & \text{value} \\\hlin...
GO Classes
890
views
asked
Aug 16, 2022
Algorithms
goclasses_cs_algo_tw4
goclasses
algorithms
dynamic-programming
knapsack-problem
two-marks
+
–
8
8 votes
4
4 answers
957
957 views
GO Classes CS Test Series | Algorithms | Topic Wise Test 4 | Question: 8
For a given sequence of integers $a_1, a_2, \ldots, a_n,$ a decreasing subsequence is one for which every integer is strictly smaller than the previous one.The longest de...
GO Classes
957
views
asked
Aug 16, 2022
Algorithms
goclasses_cs_algo_tw4
goclasses
algorithms
dynamic-programming
longest-common-subsequence
two-marks
+
–
4
4 votes
1
1 answer
757
757 views
GO Classes CS Test Series | Algorithms | Topic Wise Test 4 | Question: 11
The number of longest common subsequences for "$bacb$" and "$abcabc$" are -$2$$3$$4$$5$
GO Classes
757
views
asked
Aug 16, 2022
Algorithms
goclasses_cs_algo_tw4
goclasses
algorithms
dynamic-programming
longest-common-subsequence
two-marks
+
–
Page:
« prev
1
2
3
4
5
6
7
next »