Virtusa interview question

Implement Sorting, Searching algorithms.