Infosys interview question

Quick sort Decorators in python