Barclays Interview Question

How do you create a yield curve?