thdespou
Joined 10 years ago
Karma
372
Submissions
293
Member since
Aug 18
Joined 10 years ago
It does't work all the time like that since caching increases the Space Complexity.
There are DP problems that can be solved without storing all possible values in an array.
As a consequence guns can be used as a deterrence as well. Since their primary purpose is to cause great harm, people that value their lives and not commit stupid actions.