Which of the following is a non-linear data structure?
Correct answer B. Tree
Subject / 609 questions
Page 14 of Programming multiple-choice questions with answers. Tap an option to check yourself.
Page 14 of 31
Correct answer B. Tree
Correct answer A. A static structure has a size fixed when it is created, while a dynamic one can grow or shrink at run time
Correct answer C. O(1)
Correct answer D. O(n²)
Correct answer C. O(log n)
Correct answer A. How the memory it needs grows with the input size
Correct answer B. Big-Omega (Ω)
Correct answer D. O(n)
Correct answer C. 1260
Correct answer A. 1212
Correct answer B. 218
Correct answer C. O(n)
Correct answer B. O(n)
Correct answer C. It grows its capacity geometrically, so expensive reallocations happen rarely
Correct answer C. Data and a pointer to the next node
Correct answer D. O(1)
Correct answer D. O(1)
Correct answer D. The first node
Correct answer B. It must be at least half full
Correct answer D. One, because the clustered index defines the physical order of the data rows