Added time complexity comments to ArrayBag