bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths
EasyMath & GeometryLC 709

To Lower Case

Given a string s, return the string after replacing every uppercase letter with the same lowercase letter.

Asked at 3 companies
AdobeAppleGoogle
Hints
  • 1.Think about which data structure fits best
  • 2.Consider the time complexity of your approach
  • 3.Look for patterns in the constraints
LeetCode