Jane Street interview question

Easy VBA exercise