UBS Interview Question

Given number is Prime Number or not