Synoriq interview question

Binary search Algorithm, Bubble sort, Ds