Two stacks in s sinle array, space efficent