Bluevine Interview Question

Convert single thread to multi threads