Challenge 5: Find Duplicates in a List

In this challenge, your task is to find duplicates in a list.

Problem Statement

Implement the hasDuplicates function which verifies if a list has duplicate values.


A list


True if the list has duplicates and False otherwise

Get hands-on with 1000+ tech skills courses.