Write a Kotlin function that evaluates a password and returns a clear strength label. You’ll validate input, apply a few practical rules, and practice string scanning in a way that mirrors real signup forms.
Build a Kotlin function that takes a raw phone number string and converts it into a clean, standardized E.164-style format. You’ll handle common punctuation, validate the digits, and return either a formatted result or a clear error message.