check if duplicate element is present in an array

visit shbcf.ru