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
1
1 answer
1.9k
1.9k views
UGC NET CSE | September 2013 | Part 3 | Question: 39
The number of possible paranthesizations of a sequence of n matrices isO(n)$\theta$(n Ig n)$\Omega(2^n)$None of the above
go_editor
1.9k
views
asked
Jul 24, 2016
Algorithms
ugcnetcse-sep2013-paper3
algorithms
dynamic-programming
matrix-chain-ordering
+
–
3
3 votes
2
2 answers
6.3k
6.3k views
Maximum Continuous Sum in an Array
Given an array of $n$ elements find the maximum continuous sum in it. For example consider the below array of $n=6$.23 4 -10 2 15 1Answer is 35.
Arjun
6.3k
views
asked
Jul 3, 2016
Algorithm Challenges
algorithm-challenges
placement-questions
dynamic-programming
+
–
5
5 votes
1
answers
1 answer
1.1k
1.1k views
Optimal Substructure
6. Which one of the following is an optimal substructure property?If $S$ is an optimal solution, then the components of $S$ are not necessarily optimalIf $S$ is an optima...
geet.m
1.1k
views
asked
Jun 29, 2016
Algorithms
algorithms
dynamic-programming
algorithm-design-techniques
test-series
+
–
2
2 votes
3
3 answers
2.8k
2.8k views
CMI2013-B-06b
Your final exams are over and you are catching up on watching sports on TV. You have a schedule of interesting matches coming up all over the world during the next week. ...
Arjun
2.8k
views
asked
Jun 8, 2016
Algorithms
cmi2013
descriptive
algorithms
dynamic-programming
+
–
3
3 votes
1
1 answer
910
910 views
CMI2015-B-07
There is a thin, long and hollow fibre with a virus in the centre. The virus occasionally becomes active and secretes some side products. The fibre is so thin that new si...
go_editor
910
views
asked
May 27, 2016
Algorithms
cmi2015
descriptive
algorithms
dynamic-programming
+
–
2
2 votes
1
1 answer
794
794 views
CMI2014-B-05
At the end of its fifth successful season, the Siruseri Premier League is planning to give an award to the Most Improved Batsman over the five years. For this, an Improve...
go_editor
794
views
asked
May 27, 2016
Algorithms
cmi2014
algorithms
dynamic-programming
+
–
1
1 vote
1
answers
1 answer
3.5k
3.5k views
What is the time complexity of Binary Knapsack?
I was reading some of the notes (made easy and ACE) and noticed that some teacher have taught that time complexity for Binary Knapsack O(2^(n/2)). which can not be reduc...
rude
3.5k
views
asked
May 23, 2016
Algorithms
time-complexity
dynamic-programming
p-np-npc-nph
+
–
1
1 vote
0
0 answers
1.9k
1.9k views
CMI2012-B-06
A certain string-processing language offers a primitive operation which splits a string into two pieces. Since this operation involves copying the original string, it tak...
go_editor
1.9k
views
asked
May 23, 2016
Algorithms
cmi2012
descriptive
algorithms
dynamic-programming
+
–
40
40 votes
4
answers
4 answers
16.1k
16.1k views
GATE CSE 2008 | Question: 81
The subset-sum problem is defined as follows. Given a set of $n$ positive integers, $S = \{ a_1, a_2, a_3, \dots , a_n \}$, and positive integer $W$, is there a subset of...
go_editor
16.1k
views
asked
Apr 23, 2016
Algorithms
gatecse-2008
algorithms
normal
dynamic-programming
+
–
57
57 votes
4
answers
4 answers
23.0k
23.0k views
GATE CSE 2009 | Question: 54
A sub-sequence of a given sequence is just the given sequence with some elements (possibly none or all) left out. We are given two sequences $X[m]$ and $Y[n]$ of lengths ...
go_editor
23.0k
views
asked
Apr 23, 2016
Algorithms
gatecse-2009
normal
algorithms
dynamic-programming
recursion
+
–
2
2 votes
1
answers
1 answer
4.2k
4.2k views
In how many ways a rook can go from SouthEast to northwest corner of 8×8 chess board if travels only upwards or left?
Chetana Tailor
4.2k
views
asked
Apr 10, 2016
Combinatory
combinatory
recurrence-relation
dynamic-programming
placement-questions
+
–
53
53 votes
8
answers
8 answers
37.5k
37.5k views
GATE CSE 2016 | Set 2 | Question: 38
Let $A_{1}, A_{2}, A_{3}$ and $A_{4}$ be four matrices of dimensions $10 \times 5, 5 \times 20, 20 \times 10$ and $10 \times 5$, respectively. The minimum number of scala...
Akash Kanase
37.5k
views
asked
Feb 12, 2016
Algorithms
gatecse-2016-set2
dynamic-programming
algorithms
matrix-chain-ordering
normal
numerical-answers
+
–
32
32 votes
4
answers
4 answers
11.3k
11.3k views
GATE CSE 2016 | Set 2 | Question: 14
The Floyd-Warshall algorithm for all-pair shortest paths computation is based onGreedy paradigm.Divide-and-conquer paradigm.Dynamic Programming paradigm.Neither Greedy no...
Akash Kanase
11.3k
views
asked
Feb 12, 2016
Algorithms
gatecse-2016-set2
algorithms
dynamic-programming
easy
+
–
1
1 vote
1
1 answer
1.7k
1.7k views
MadeEasy Test Series: Algorithms - Dynamic Programming
Given an array of n numbers, give an algorithm for finding a contiguous subsequence A(i) ...A(j) for which the sum of elements is maximum.Eg. [-2, 11, -4, 13, -5, 2] → 20...
Utk
1.7k
views
asked
Jan 11, 2016
Algorithms
algorithms
dynamic-programming
made-easy-test-series
+
–
4
4 votes
1
1 answer
1.5k
1.5k views
Dynamic programming
Given an array which contains both positive and negative integers in it and asked to design an algorithm to find the maximum sum which does not contain two consecutive nu...
Aditi Tiwari
1.5k
views
asked
Dec 22, 2015
Algorithms
algorithms
dynamic-programming
time-complexity
+
–
0
0 votes
2
answers
2 answers
2.2k
2.2k views
finding pair of an element in the array such that diff will be given no.
We are given a sequence of $n$ positive numbers $a_{1}, a_{2}, \ldots, a_{n}$ and a fixed number $k>0$. We want to find a pair of numbers $a_{i}$ and $a_{j}$ such that $j...
venky.victory35
2.2k
views
asked
Dec 19, 2015
Algorithms
algorithms
time-complexity
dynamic-programming
divide-and-conquer
test-series
+
–
1
1 vote
1
answers
1 answer
1.2k
1.2k views
Travelling salesman problem vs. Minimum cost spanning tree vs. Shortest path
i want to understand these better....please explain someone.Travelling salesman problem vs. Minimum cost spanning tree vs. Shortest pathAlso I was just wondering if there...
Aspi R Osa
1.2k
views
asked
Dec 15, 2015
Algorithms
dynamic-programming
+
–
2
2 votes
2
2 answers
11.9k
11.9k views
longest common subsequence
For X= BDCABA and Y=ABCBDAB find length of lcs and no of such lcs..(solve it using table method)
Pooja Palod
11.9k
views
asked
Dec 1, 2015
Algorithms
dynamic-programming
numerical-answers
longest-common-subsequence
+
–
0
0 votes
1
1 answer
850
850 views
max subarray problem
What does find max subarray return when all elements of array are negative?
Pooja Palod
850
views
asked
Oct 9, 2015
Algorithms
dynamic-programming
sub-array-sum
+
–
1
1 vote
1
answers
1 answer
1.9k
1.9k views
common data Linked quetion :- 1) which of the following is correct recurrence formula of I(j) 2)how to evaluate this R.R
At the end of it's 5th Successful season,The siruseri Permier league is planning to give an award to most improved bowler over 5 years . For this an important Index will ...
kalpish
1.9k
views
asked
Apr 8, 2015
Algorithms
algorithms
dynamic-programming
recurrence-relation
+
–
91
91 votes
4
answers
4 answers
27.5k
27.5k views
GATE CSE 2010 | Question: 34
The weight of a sequence $a_0,a_1, \dots, a_{n-1}$ of real numbers is defined as $a_0+a_1/2+ \dots + a_{n-1}/2^{n-1}$. A subsequence of a sequence is obtained by deleting...
go_editor
27.5k
views
asked
Sep 29, 2014
Algorithms
gatecse-2010
algorithms
dynamic-programming
normal
+
–
48
48 votes
6
answers
6 answers
25.1k
25.1k views
GATE CSE 2011 | Question: 38
Four Matrices $M_1, M_2, M_3$ and $M_4$ of dimensions $ p \times q, \:\:q \times r, \:\:r \times s$ and $s \times t$ respectively can be multiplied in several ways with d...
go_editor
25.1k
views
asked
Sep 29, 2014
Algorithms
gatecse-2011
algorithms
dynamic-programming
normal
matrix-chain-ordering
+
–
59
59 votes
4
answers
4 answers
23.0k
23.0k views
GATE CSE 2011 | Question: 25
An algorithm to find the length of the longest monotonically increasing sequence of numbers in an array $A[0:n-1]$ is given below.Let $L_i$, denote the length of the long...
go_editor
23.0k
views
asked
Sep 29, 2014
Algorithms
gatecse-2011
algorithms
easy
dynamic-programming
+
–
68
68 votes
9
answers
9 answers
18.7k
18.7k views
GATE CSE 2014 | Set 3 | Question: 37
Suppose you want to move from $0$ to $100$ on the number line. In each step, you either move right by a unit distance or you take a shortcut. A shortcut is simply a pre-s...
go_editor
18.7k
views
asked
Sep 28, 2014
Algorithms
gatecse-2014-set3
algorithms
normal
numerical-answers
dynamic-programming
+
–
63
63 votes
9
answers
9 answers
30.1k
30.1k views
GATE CSE 2014 | Set 2 | Question: 37
Consider two strings $A$ = "qpqrr" and $B$ = "pqprqrp". Let $x$ be the length of the longest common subsequence (not necessarily contiguous) between $A$ and $B$ and let $...
go_editor
30.1k
views
asked
Sep 28, 2014
Algorithms
gatecse-2014-set2
algorithms
normal
numerical-answers
dynamic-programming
+
–
40
40 votes
3
answers
3 answers
14.0k
14.0k views
GATE CSE 2009 | Question: 53
A sub-sequence of a given sequence is just the given sequence with some elements (possibly none or all) left out. We are given two sequences $X[m]$ and $Y[n]$ of lengths ...
Kathleen
14.0k
views
asked
Sep 22, 2014
Algorithms
gatecse-2009
algorithms
normal
dynamic-programming
recursion
+
–
61
61 votes
6
answers
6 answers
18.3k
18.3k views
GATE CSE 2008 | Question: 80
The subset-sum problem is defined as follows. Given a set of $n$ positive integers, $S = \{ a_1, a_2, a_3, \dots , a_n \}$, and positive integer $W$, is there a subset of...
Kathleen
18.3k
views
asked
Sep 12, 2014
Algorithms
gatecse-2008
algorithms
difficult
dynamic-programming
+
–
Page:
« prev
1
2
3
4
5
6
7