Join Slack
Powered by
I have a key-value map, the key is index of some d...
# codereview
a
anthonyeef
04/29/2017, 10:48 AM
I have a key-value map, the key is index of some data, looks like
(key = 1, value = 200), (key = 2, value = 348)
. Knowing that the index will increase by 1, any smart way to sum up the value from index
4
to
8
?
2
Views
Open in Slack
Previous
Next