Two Sigma Interview Question

OOP and algorithms