solutions to Microsoft Campus Recruit 2015
Binary indexed tree