MCQOPTIONS
Saved Bookmarks
This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your Data Structure knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which of the following is the disadvantage of sparse matrices over normal matrices? |
| A. | Size |
| B. | Speed |
| C. | Easily compressible |
| D. | Algorithm complexity |
| Answer» E. | |
| 2. |
Suppose the contents of an array A are, A = {1, null, null, null, null, 10};What would be the size of the array considering it as a normal array and a sparse array? |
| A. | 6 and 6 |
| B. | 6 and 2 |
| C. | 2 and 6 |
| D. | 2 and 2 |
| Answer» C. 2 and 6 | |