Thoughtworks Interview Question

How are optionals internally implemented in swift?