3 ms·
Abuse the hashtable/dictionary/map Luke. Also learn prefix sum. That's enough to pass 90% of these.
by crb002 6y ago
Abuse the hashtable/dictionary/map Luke. Also learn prefix sum. That's enough to pass 90% of these.
- divtiwari 6y ago^This is literally a golden advice.