hackerrank.com
hackerrank.com Practice>Python>Collections>DefaultDict Tutorial
건이두
2019. 2. 10. 14:57
728x90
DefaultDict Tutorial
Problem link : https://www.hackerrank.com/challenges/defaultdict-tutorial/problem
Difficulty : Easy
Tip
- 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