Valkyrie Trading Interview Question

just simple probability and leetcode easy 30mins