Intel Corporation Interview Question

Write program that split cards in same probabilityo