Skip to main content
  1. Posts/

Quant Salary

·1 min·
Table of Contents

A Practical Guide To Quantitative Finance Interviews 收录了一些量化面试中的经典题目. 本文介绍的是来自第二章的「Quant Salary」.

Quant Salary #

Problem #

Eight quants from different banks are getting together for drinks. They are all interested in knowing the average salary of the group. Nevertheless, being cautious and humbleindividuals, everyone prefers not to disclose his or her own salary to the group. Can youcome up with a strategy for the quants to calculate the average salary without knowing other people’s salaries?

Solution #

第一个人随便选一个很大的数, 加上自己的工资传给第二个人, 之后每个人都加上自己的工资传给后一个人, 最后第一个人减去这个数就能得到所有人的总工资, 从而可以计算出平均工资了.