Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged data-structures
6
6 votes
5
5 answers
9.3k
9.3k views
What is the time complexity to construct binary search tree when inorder and postorder traversal of tree is given?
nilamd
9.3k
views
asked
Jan 18, 2016
Data Structures
data-structures
binary-search-tree
+
–
12
12 votes
5
5 answers
8.0k
8.0k views
MadeEasy Test Series: Programming & DS - Binary Tree
The number of ways we can insert elements { 1, 2, 3, .... 7 } to make an AVL tree, so that it does not have any rotation are _______ ?
Tushar Shinde
8.0k
views
asked
Jan 18, 2016
Data Structures
made-easy-test-series
data-structures
binary-tree
avl-tree
+
–
5
5 votes
1
answers
1 answer
12.7k
12.7k views
What's the difference between Binary tree height, level and depth?
What's the difference between Binary tree height, level and depth? Sometimes it's confusing!Does there definition change according to question also, if mentioned?
Shashank Chavan
12.7k
views
asked
Jan 18, 2016
Data Structures
data-structures
binary-tree
+
–
7
7 votes
7
answers
7 answers
109k
109k views
The maximum number of nodes on level i of a binary tree
Level of a node is distance from root to that node. For example, level of root is 1 and levels of left and right children of root is 2. The maximum number of nodes on lev...
Akanksha Kesarwani
109k
views
asked
Jan 16, 2016
Data Structures
binary-tree
data-structures
+
–
2
2 votes
1
answers
1 answer
9.6k
9.6k views
worst case possible height of an AVL tree .
What is the worst case possible height of an AVL tree??a. 2logn (Assume base of log is 2) b. 1.44log n (Assume base of log is 2)c. Depends upon implementationd. Thet...
Akanksha Kesarwani
9.6k
views
asked
Jan 15, 2016
Data Structures
data-structures
+
–
0
0 votes
2
2 answers
1.8k
1.8k views
Ace Test Series: Programming & DS - Binary Search Trees
I am stuck after JAN. It is not getting balanced even after 2 rotations. Can somebody help?
Tushar Shinde
1.8k
views
asked
Jan 15, 2016
Data Structures
ace-test-series
data-structures
binary-search-tree
avl-tree
+
–
0
0 votes
1
1 answer
1.4k
1.4k views
depth of the binary tree with n node?
monali
1.4k
views
asked
Jan 11, 2016
Data Structures
data-structures
binary-tree
+
–
0
0 votes
0
0 answers
681
681 views
How to form a recurrence for finding the height of a weight balanced binary tree?
A weight balanced tree is a binary tree in which for each node, the no. of nodes in the left subtree is atleast half and at most twice the no. of nodes in the right sub t...
radha gogia
681
views
asked
Jan 10, 2016
Data Structures
binary-tree
data-structures
+
–
0
0 votes
0
0 answers
525
525 views
Array implementation of matrix
If tthere are two lower triangular matrix A and B.A and transpose B are stored in C. by storing only non zero elements.what should be the dimension of C.And A[i][j]= C[i]...
khushtak
525
views
asked
Jan 10, 2016
Programming in C
data-structures
array
+
–
1
1 vote
1
1 answer
7.7k
7.7k views
Quadratic probing
Consider a hashing function that resolves collision by quadratic probing .Assume the address space is indexed from $1$ to $6$. Which of the following locations will never...
Sara
7.7k
views
asked
Jan 7, 2016
Programming in C
data-structures
hashing
+
–
0
0 votes
1
answers
1 answer
1.1k
1.1k views
data structure
describe in details
resuscitate
1.1k
views
asked
Jan 3, 2016
Data Structures
data-structures
programming-in-c
+
–
0
0 votes
1
1 answer
1.3k
1.3k views
"Max Heapify" algorithm
Consider the following "Max Heapify" algorithm. Array has atleast n and 1<=i<=n. After applying the Max-heapify rooted at A[i], the result will be subtree of A[1,....n] r...
piyushkr
1.3k
views
asked
Dec 30, 2015
Data Structures
data-structures
binary-heap
+
–
0
0 votes
2
2 answers
5.1k
5.1k views
Location of element using Row Major Order
My question is : in the row [8][-8] to [8][5] will be 5-(-8)+1 = 14 elements , right ? so , it should be 1060 then considering 4 Byte is one element.I know , this is pret...
worst_engineer
5.1k
views
asked
Dec 29, 2015
Data Structures
data-structures
+
–
1
1 vote
1
answers
1 answer
1.4k
1.4k views
MadeEasy Test Series 2018: Programming & DS - Binary search Tree
When searching for the key value 50 in a binary search tree, node containing the key values 10, 30, 40, 70, 90, 120, 150, 175 are traversed, in any order. The number of d...
Sandeep Singh
1.4k
views
asked
Dec 27, 2015
Data Structures
data-structures
binary-search-tree
made-easy-test-series
+
–
1
1 vote
2
2 answers
1.1k
1.1k views
MadeEasy Test Series: Programming & DS - Linked Lists
Delete the duplicate nodeDelete the alternate duplicate nodeDelete the adjacent nodeNone of these
Sandeep Singh
1.1k
views
asked
Dec 27, 2015
Data Structures
data-structures
linked-list
made-easy-test-series
+
–
0
0 votes
1
1 answer
734
734 views
MadeEasy Test Series 2018: Programming & DS - Binary Tree
Consider the below code which run on any tree.In-order traversalPost-order traversalPre-order traversalNone of these
Sandeep Singh
734
views
asked
Dec 27, 2015
Data Structures
data-structures
binary-tree
made-easy-test-series
+
–
0
0 votes
0
0 answers
563
563 views
find the sum of values @the end of operations?
jagadeesha kanihal
563
views
asked
Dec 26, 2015
Data Structures
data-structures
+
–
0
0 votes
2
answers
2 answers
1.5k
1.5k views
What will be the recurrence relation of the given below program for Preorder traversing technique?
Preorder(root){ Printf("root.data"); Preorder(root.leftsidetree); Preorder(root.rightside);}
piyushkr
1.5k
views
asked
Dec 24, 2015
Data Structures
binary-tree
data-structures
recurrence-relation
+
–
0
0 votes
2
2 answers
1.3k
1.3k views
how many threads are there.
venky.victory35
1.3k
views
asked
Dec 20, 2015
Data Structures
data-structures
binary-tree
+
–
0
0 votes
1
answers
1 answer
939
939 views
Is it possible to delete intermediate node/number in Heap?
Is it possible to delete intermediate node/number in Heap? Not a root or last.
Shashank Chavan
939
views
asked
Dec 18, 2015
Data Structures
data-structures
binary-heap
+
–
2
2 votes
2
2 answers
1.2k
1.2k views
#doubt on heaps and binary search
Consider the process of inserting an element into a max heap, where the max heap is represented by an array.Suppose we perform a binary search on the path from the new le...
ashandeep
1.2k
views
asked
Dec 16, 2015
Algorithms
algorithms
data-structures
binary-search
+
–
0
0 votes
2
2 answers
7.3k
7.3k views
Postfix evaluation
The following post-fix expression with single digit operands is evaluated using stack, $16\;2\;4\;\wedge \; / \;4\;3\;*\;+\;6\;2\;*\;-$Note that $\wed...
tiger
7.3k
views
asked
Dec 15, 2015
Data Structures
infix-prefix
data-structures
+
–
0
0 votes
2
2 answers
988
988 views
Test Series QS - Algorithms
When searching for the key value 50 in a binary search tree, node containing the key values 10, 30, 40, 70, 90, 120, 150, 175 are traversed, in any order. The number of d...
mysticPrince
988
views
asked
Dec 8, 2015
Data Structures
data-structures
binary-search-tree
numerical-answers
made-easy-test-series
+
–
0
0 votes
3
answers
3 answers
5.5k
5.5k views
how to construct BST by given preorder and postorder traversal
Given preorder and postorder traversal of binary search tree.Preorder: 50, 27, 16, 4, 12, 34, 29, 44, 88, 65, 52, 77, 93, 92Postorder: 12, 4, 16, 29, 44, 34, 27, 52, 77, ...
resuscitate
5.5k
views
asked
Dec 8, 2015
Algorithms
data-structures
binary-search-tree
+
–
1
1 vote
2
2 answers
3.0k
3.0k views
Implementing Queue with only one pointer
Which of the following statement is/are correct?1. If we use only Front pointer in queue, then insertion takes O(n) time while deletion in O(1) time.2. If we use only Rea...
Tushar Shinde
3.0k
views
asked
Dec 7, 2015
Data Structures
queue
data-structures
+
–
16
16 votes
3
answers
3 answers
18.8k
18.8k views
Find address of element in 3d array
A is an array $[2.....6, 2.....8, 2.......10]$ of elements. The starting location is $500$. The location of an element $A(5, 5, 5)$ using column major order is __________...
shikharV
18.8k
views
asked
Dec 4, 2015
Data Structures
data-structures
array
algorithms
+
–
1
1 vote
0
0 answers
742
742 views
What is subarray and its example?
Whats is subarray ? Can you explain with example?!
Shashank Chavan
742
views
asked
Dec 3, 2015
Programming in C
programming-in-c
data-structures
+
–
1
1 vote
1
1 answer
1.2k
1.2k views
Data structure for controlling thrashing
Given answer: APlease explain.
shikharV
1.2k
views
asked
Nov 28, 2015
Operating System
data-structures
operating-system
thrashing
+
–
3
3 votes
0
0 answers
942
942 views
Total running time of 'm' access operation in a Splay tree .. [GATEFORUM-TEST-DSA]
V Y
942
views
asked
Nov 26, 2015
Data Structures
data-structures
tree
+
–
11
11 votes
2
answers
2 answers
2.8k
2.8k views
TIFR CSE 2014 | Part B | Question: 1
Let $T$ be a rooted binary tree whose vertices are labelled with symbols $a, b, c, d, e, f, g, h, i, j, k$. Suppose the in-order (visit left subtree, visit root, visit ri...
Misbah Ghaya
2.8k
views
asked
Nov 19, 2015
Data Structures
tifr2014
binary-tree
data-structures
easy
+
–
Page:
« prev
1
...
74
75
76
77
78
79
80
81
82
83
84
...
86
next »