J
jacksu
say I have one int array {3, 5, 3, 7}
want to get
{3, 5, 7, 8, 6, 10, 15, 13, 16, 18}
I thought this could be very common issue, anyone has algorithm on
that?
Thanks.
want to get
{3, 5, 7, 8, 6, 10, 15, 13, 16, 18}
I thought this could be very common issue, anyone has algorithm on
that?
Thanks.