public static void main(String args[]){
        BinomialCoefficient bc = new BinomialCoefficient();
        System.out.print(bc.calculate(8, 3));
    }
http://www.geeksforgeeks.org/space-and-time-efficient-binomial-coefficient/
Test cases
k is 0
k or n are negative
k greater than n
src/com/interview/number/BinomialCoefficient.java