Amazon Robotics is optimizing the dataset shipment process.
You are given a binary string shipmentData consisting only of '0' and '1'.
Process Definition:
Start with an empty finalSequence.
For each character c in shipmentData from left to right:
- Append
ctofinalSequence - Reverse the entire
finalSequence