Takeda Pharmaceuticals interview question

Explain how ligation would work with unknown DNA fragments?