Sequoia Equities Interview Question

Had to take two tests