Recent questions tagged data-structures

62 votes
4 answers
1626
35 votes
12 answers
1627
11 votes
5 answers
1628
2 votes
1 answer
1629
0 votes
1 answer
1630
6 votes
2 answers
1632
0 votes
2 answers
1633
64 votes
7 answers
1636
53 votes
7 answers
1638
23 votes
4 answers
1640
Which one of the following binary trees has its inorder and preorder traversals as $BCAD$ and $ABCD$, respectively?
65 votes
9 answers
1643
19 votes
1 answer
1648
Which of the following sequences of array elements forms a heap?$\{23, 17, 14, 6, 13, 10, 1, 12, 7, 5\}$$\{23, 17, 14, 6, 13, 10, 1, 5, 7, 12\}$$\{23, 17, 14, 7, 13, 10, ...
57 votes
11 answers
1650
In a binary tree, the number of internal nodes of degree $1$ is $5$, and the number of internal nodes of degree $2$ is $10$. The number of leaf nodes in the binary tree i...