Optiver interview question

Do some Leetcode programming questions.