WorldQuant interview question

Python, C and SQL based