Triad Systems Interview Question

Write factorial in recursion,binary search