Say I have a large list of strings containing around 20k data.
list=['Abacus','Academy',......,'Zordan']
Now from this list of strings I want to check if a particular string exists in it or not. For example say I will like to check whether the string "Zordan" exists in it or not. If I do this simply it will take me O(n) time. Is there any built in method in python which does it efficiently?