You are given an integer array nums. Transform nums by performing the following operations in the exact order specified:
Return the resulting array after performing these operations.
You are given an integer array nums. Transform nums by performing the following operations in the exact order specified:
Return the resulting array after performing these operations.