Say you have an array that has at least one item repeated. How would you find the repeated item. This is a question commonly presented to beginner developers. Here we discuss the elegant solution to this problem.
Thanks for this course. How is it possible for Set.prototype.has to have a constant runtime ?