Our prisoners are fed up with the wardens games and have decided they want to escape. They have been studying the prison and each one has learned a secret which will aid in their escape. The prisoners have started to meet one on one to exchange secrets. Every meeting results in both prisoners knowing all the secrets of the other one. For example, if prisoner A knows secrets 1,3, and 5 while B knows 2 and 6 the result of A and B meeting would be A and B both knowing secrets 1, 2, 3, 5, and 6.
Being a paranoid bunch they are convinced if they have too many meetings the warden will catch on to their plan. Assuming there are 10 prisoners and each one starts knowing a single secret, what is the minimal number of meetings they need for everyone to know all 10 secrets?