nvm, solution are not the same. the second one use...
# codereview
m
nvm, solution are not the same. the second one uses the first found item for each date, i need the last