Dillon Brooks hit a three-pointer in the final second to lift the 21st-ranked Ducks to a 89-87 victory over the 2nd-ranked Bruins.