Hello MySelf Rohan Ravindra Kadam, Full Stack Developer, Mumbai, India In this article, we try to find the solution for the below problem statement ⚡Problem Statements:- Given an integer array nums, return true if any value appears at least twice in the array, and return false if every element is distinct. Example…