Closed lucaslugao closed 3 years ago
Replace the linear time complexity string.index lookup with the constant time complexity dict.get.
string.index
dict.get
Replace the linear time complexity
string.index
lookup with the constant time complexitydict.get
.