Hudson River Trading Interview Question

How does a function work under the hood?