DRW interview question

Q: Maximum product subarray with a twist.