BitMEX interview question

- Flatten an array - Timeouts with no timeout delay - For loops