Problem 2974 · Easy
Sort the values, then each round removes the two smallest and Bob appends his value before Alice appends hers.
Open the interactive visualisation