Authorities say the 19-year-old shooter was inspired by a number of previous attacks, including those carried out at a mosque in New Zealand's capital and in Pittsburgh.