Loading...
Engaged Employer
delete duplicates in a list
Anonymous
hashmap
# Python answer set(listProvided)
#Python way print(list(set(listA)))
def deleteDuplicates(A): A.sort() res = [] for i in A: if len(res) == 0 or i res[len(res)-1]: res.append(i) return res
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalized job recommendations and updates by starting your searches.
Get actionable career advice tailored to you by joining more bowls.
Check out your Company Bowl for anonymous work chats.