UBS Interview Question

how will you write a program/function for template specialization