Two Sigma Interview Question

3 hackerrank questions in increasing difficulty, standard algos questions in general