Loading...
Engaged employer
delete duplicates in a list
Anonymous
hashmap
#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
# Python answer set(listProvided)
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalised job recommendations and updates by starting your searches.