Spring Rain interview question

Write binary search program and quick sort