Question d’entretien chez Siemens

find kth element in sorted and unsorted array