 Sanghvi pursued her bachelor's and master's degrees in electrical computer engineering from Carnegie Mellon University.After graduating from Carnegie Mellon University in 2004, Sanghvi initially planned to work in New York City, but says that she was horrified by the small cubicle size.She decided instead to move to Silicon Valley where her former CMU colleague Aditya Agarwal, whom she was dating, worked.