Add in place reverse
in place reverse, flatten array