Loading...
Engaged Employer
Find the first duplicate in an unordered list
Anonymous
list 1 = [1,4,1,2,3] list 2 =[] for i in list1: if i not in list2: list2.append(i) else print(i) print('first duplicate') break:
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 personalized job recommendations and updates by starting your searches.