Understand Code Functionality
Understand the functionality of the code in the post and describe its purpose in detail in English.
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
