Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged data-structures
0
0 votes
0
0 answers
94
94 views
JEST 2019 Q4 SUBJECTIVE
Given a square matrix of size n*n, elements are either 0 or 1. Suggest an algorithm tofind the sub-rectangle made of 1 , with largest area. (Find the area).
RAJEEV_KUMAR 1
94
views
asked
Mar 5
Linear Algebra
data-structures
matrix
algorithm-design
+
–
38
38 votes
2
answers
2 answers
9.6k
9.6k views
GATE CSE 2001 | Question: 1.15
Consider any array representation of an $n$ element binary heap where the elements are stored from index $1$ to index $n$ of the array. For the element stored at index $i...
Kathleen
9.6k
views
asked
Sep 14, 2014
Data Structures
gatecse-2001
data-structures
binary-heap
easy
+
–
29
29 votes
3
answers
3 answers
8.9k
8.9k views
GATE CSE 2000 | Question: 15
Suppose you are given arrays $p [1......N]$ and $q [1......N]$ both uninitialized, that is, each location may contain an arbitrary value), and a variable count, initiali...
Kathleen
8.9k
views
asked
Sep 14, 2014
Data Structures
gatecse-2000
data-structures
array
easy
descriptive
+
–
38
38 votes
2
answers
2 answers
9.6k
9.6k views
GATE CSE 2000 | Question: 13
Suppose a stack implementation supports, in addition to PUSH and POP, an operation REVERSE, which reverses the order of the elements on the stack.To implement a queue usi...
Kathleen
9.6k
views
asked
Sep 14, 2014
Data Structures
gatecse-2000
data-structures
stack
normal
descriptive
+
–
69
69 votes
6
answers
6 answers
26.7k
26.7k views
GATE CSE 2000 | Question: 2.16
Let LASTPOST, LASTIN and LASTPRE denote the last vertex visited in a postorder, inorder and preorder traversal respectively, of a complete binary tree. Which of the foll...
Kathleen
26.7k
views
asked
Sep 14, 2014
Data Structures
gatecse-2000
data-structures
binary-tree
normal
+
–
45
45 votes
11
answers
11 answers
17.9k
17.9k views
GATE CSE 2000 | Question: 1.14
Consider the following nested representation of binary trees: $(X \ Y \ Z)$ indicates $Y$ and $Z$ are the left and right subtrees, respectively, of node $X$. Note that $Y...
Kathleen
17.9k
views
asked
Sep 14, 2014
Data Structures
gatecse-2000
data-structures
binary-tree
easy
+
–
74
74 votes
15
answers
15 answers
18.4k
18.4k views
GATE CSE 2000 | Question: 1.2
An $n \times n$ array $v$ is defined as follows:$v\left[i,j\right] = i - j$ for all $i, j, i \leq n, 1 \leq j \leq n$The sum of the elements of the array $v$ is$0$$n-1$$n...
Kathleen
18.4k
views
asked
Sep 14, 2014
Data Structures
gatecse-2000
data-structures
array
easy
+
–
32
32 votes
3
3 answers
8.2k
8.2k views
GATE CSE 1992 | Question: 09
Suggest a data structure for representing a subset $S$ of integers from $1$ to $n$. Following operations on the set $S$ are to be performed in constant time (independent ...
Kathleen
8.2k
views
asked
Sep 13, 2014
Data Structures
gate1992
data-structures
normal
descriptive
queue
+
–
39
39 votes
5
answers
5 answers
14.5k
14.5k views
GATE CSE 1992 | Question: 02,vii
A $2-3$ tree is such thatAll internal nodes have either $2$ or $3$ childrenAll paths from root to the leaves have the same lengthThe number of internal nodes of a $2-3$ t...
Kathleen
14.5k
views
asked
Sep 12, 2014
Data Structures
gate1992
tree
data-structures
normal
multiple-selects
+
–
31
31 votes
5
answers
5 answers
8.6k
8.6k views
GATE CSE 1991 | Question: 14,a
Consider the binary tree in the figure below:What structure is represented by the binary tree?
Kathleen
8.6k
views
asked
Sep 12, 2014
Data Structures
gate1991
data-structures
binary-tree
time-complexity
easy
descriptive
+
–
31
31 votes
6
answers
6 answers
7.6k
7.6k views
GATE CSE 1991 | Question: 03,vii
The following sequence of operations is performed on a stack:$PUSH (10), PUSH (20), POP, PUSH (10), PUSH (20), POP, POP, POP, PUSH (20), POP$The sequence of values poppe...
Kathleen
7.6k
views
asked
Sep 12, 2014
Data Structures
gate1991
data-structures
stack
easy
+
–
60
60 votes
2
answers
2 answers
18.6k
18.6k views
GATE CSE 1991 | Question: 01,viii
The weighted external path length of the binary tree in figure is ______
Kathleen
18.6k
views
asked
Sep 12, 2014
Data Structures
gate1991
binary-tree
data-structures
normal
numerical-answers
+
–
26
26 votes
8
answers
8 answers
9.6k
9.6k views
GATE CSE 1991 | Question: 1,ix
If the binary tree in figure is traversed in inorder, then the order in which the nodes will be visited is ______
Kathleen
9.6k
views
asked
Sep 12, 2014
Data Structures
gate1991
binary-tree
easy
data-structures
descriptive
+
–
56
56 votes
7
answers
7 answers
27.3k
27.3k views
GATE CSE 2008 | Question: 62
The following C function takes a single-linked list of integers as a parameter and rearranges the elements of the list. The function is called with the list containing th...
Kathleen
27.3k
views
asked
Sep 12, 2014
Data Structures
gatecse-2008
data-structures
linked-list
normal
+
–
190
190 votes
7
answers
7 answers
60.5k
60.5k views
GATE CSE 2008 | Question: 46
You are given the postorder traversal, $P$, of a binary search tree on the $n$ elements $1, 2, \dots, n$. You have to determine the unique binary search tree that has $P...
Kathleen
60.5k
views
asked
Sep 12, 2014
Data Structures
gatecse-2008
data-structures
binary-search-tree
normal
+
–
116
116 votes
12
answers
12 answers
47.8k
47.8k views
GATE CSE 2013 | Question: 44
Consider the following operation along with Enqueue and Dequeue operations on queues, where $k$ is a global parameter.MultiDequeue(Q){ m = k while (Q is not empty) and (m...
gatecse
47.8k
views
asked
Aug 7, 2014
Data Structures
gatecse-2013
data-structures
algorithms
normal
queue
+
–
70
70 votes
5
answers
5 answers
23.8k
23.8k views
GATE CSE 2012 | Question: 5
The worst case running time to search for an element in a balanced binary search tree with $n2^{n}$ elements is$\Theta(n\log n)$$\Theta(n2^n)$$\Theta(n)$$\Theta(\log n)$
gatecse
23.8k
views
asked
Aug 5, 2014
Data Structures
gatecse-2012
data-structures
normal
binary-search-tree
+
–
Page:
« prev
1
...
81
82
83
84
85
86