
28 Mar
2014
28 Mar
'14
2:59 a.m.
On 3/28/2014 12:30 AM, Nishant wrote:
Can someone elaborate on how to create a DS which acts like an array or vector and has same time complexity ?
A list though can act like array but getting value at index i is linear time but in actual array it is constant.
I was just reading http://www.haskell.org/haskellwiki/Arrays