Result of Long Positive Integers & Search and element in array..
Posted
by
AGeek
on Stack Overflow
See other posts from Stack Overflow
or by AGeek
Published on 2011-03-05T15:02:15Z
Indexed on
2011/03/05
15:25 UTC
Read the original article
Hit count: 236
Hi,
I have two Questions for which I cannot find answers by googling, but I find these questions very important for preparation.. Kindly explain only the logic, I will be able to code.
In Search of Efficient Logic..... in terms of Memory and Time.
WAP to add two long positive integers. What Data structure / data type we can use to store the numbers and result.
What is the best way to search an element from an array in shortest time. Size of the array could be large enough, and any elements could be stored in the array(i.e. no range).
Thanks.
© Stack Overflow or respective owner