give array integer arr return true number occurrence value array unique false Example 1input arr 122113output trueexplanation the value 1 3 occurrence 2 2 3 1 no value number occurrencesExample 2Input arr 12Output falseExample 3input arr 30131113100output true Constraints1 arrlength 10001000 arri 1000