Directi interview question

Design your own cpu scheduling algorithm? and explain how it works?