-
hackerrank.com Practice>Python>Collections>DefaultDict Tutorialhackerrank.com 2019. 2. 10. 14:57728x90
DefaultDict Tutorial
Problem link : https://www.hackerrank.com/challenges/defaultdict-tutorial/problemDifficulty : EasyTip
- Problem suggest to use defaultdict(), however, it seems that just using list is better way
- One loop for list m, as per each m, to find index of m from list n
- this way is better to know index from list n
Solution
728x90'hackerrank.com' 카테고리의 다른 글
Practice>Python>Math>Polar Coordinates (0) 2019.02.12 hackerrank.com Practice>Python>Collections>Collections.namedtuple() (0) 2019.02.11 hackerrank.com Practice>Python>Itertools>Compress the String! (0) 2019.02.07 hackerrank.com Practice>Python>Sets>No Idea! (0) 2019.02.06 hackerrank.com Practice>Python>Strings>Merge the Tools! (0) 2019.02.04