The best case worst case and expected case