Data Structures | Misc | Question 7

Which among the following data structures is best suited for storing very large numbers (numbers that cannot be stored in long long int). Following are the operations needed for these large numbers.
(A) Array
(B) Linked List
(C) Binary Tree
(D) Hash


Answer: (B)

Explanation: The only two choices that make sense are Array and Linked List. Since array sizes are limited, they can create problems for following operations.

X = X*Y where X and Y are very large numbers.


Quiz of this Question

My Personal Notes arrow_drop_up