- Read Question (.md) first
- Read Awswer and Thinking Process (.md)
- Read Answer first
- Read Thinking Process sequentially
- Execute .js for reference
- I realize that I could apply seaching in
hashtable
O(1) or O(n) instead offilter
O(n) after submitting, but I remain my answer because it was not came up in that one hour.