React

[2, 4]

n
5
reserve
[1, 3, 5]
return
5