1. 11
    Find the repeated item in an array using TypeScript
    1m 44s

Find the repeated item in an array using TypeScript

Share this video with your friends

Send Tweet

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.

Lev Kowalski
~ 6 years ago

Thanks for this course. How is it possible for Set.prototype.has to have a constant runtime ?