Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Contains Duplicate (Easy 217)

Given an array of integers, find if the array contains any duplicates.

Solution:

Click here Iterate over array, check if item exists in set. Append to set. O(n) time, O(n) space.



Installation

Run make to run python and Swift files.