Domanda di colloquio di KGI Securities

Birthday paradox, math and programming question