Understanding the Problem A string is given. It has spaces in between. The task is to return the last string’s length. If the string is s = “Hello world”, the last string will be ”world” and its length will be 5, so return 5. Approach My approach wil...
Markdown supported · ⌘↵ to post
No responses yet.