News

Latest commit History History 49 lines (47 loc) · 1.4 KB master LeetCode / Python / ...
Python's string methods such as str.upper () and str.lower () are built-in and optimized for performance. However, repeatedly calling these methods inside a loop can still be a bottleneck.