Karen Tan finished her master's degree in mathematics at the University of Cambridge three years ago and set her sights on a career in U.K. finance.