Not a fan of Google, but I have to agree with some of the comments on the site. She did her research, knew those types of questions were coming, and she “froze” when they came. Lots of young people screw up their first interviews. Learn from the experience and move on.
Writing down the question and having a calculator handy would have helped.