Sunday, January 12, 2025
Google search engine
HomeData Modelling & AIData Structures | Misc | Question 7

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

Feeling lost in the world of random DSA topics, wasting time without progress? It’s time for a change! Join our DSA course, where we’ll guide you on an exciting journey to master DSA efficiently and on schedule.
Ready to dive in? Explore our Free Demo Content and join our DSA course, trusted by over 100,000 neveropen!

RELATED ARTICLES

Most Popular

Recent Comments