GoPro Interview Question

Please complete this assignment