Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
6510
89 days ago
|
parent
|
context
|
favorite
| on:
Many hard LeetCode problems are easy constraint pr...
change = 12345; console.log( [100,500,25,10,5,1].map( coin=>[change/coin|0,change%=coin][0] ) )
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: