Jane Street Interview Question

Wrote a git merge function.