-
Practice>Python>Closures and Decorators>Standardize Mobile Number Using Decoratorshackerrank.com 2019. 4. 23. 07:58728x90
Standardize Mobile Number Using Decorators
Problem Link : https://www.hackerrank.com/challenges/standardize-mobile-number-using-decorators/problem
Difficulty : Easy
Tip
- Use reverse index to substring aaaaa and bbbb from +91 aaaaa aaaaa
- Like aaaaa is s[-10:-5] and s[-5:0]
- Should uderstand how decorator work in python, it is a bit difficult
- Please understand how to use decorator, through reading share link in problem's concept
Solution
728x90'hackerrank.com' 카테고리의 다른 글
Practice>Data Structures>Arrays>Arrays - DS (0) 2019.04.25 Practice>Python>Closures and Decorators>Decorators 2 - Name Directory (0) 2019.04.23 Practice>Python>Regex and Parsing>Detect Floating Point Number (0) 2019.04.22 Practice>Python>XML>XML2 - Find the Maximum Depth (0) 2019.04.19 Practice>Python>XML>XML 1 - Find the Score (0) 2019.04.17