public static void MaxTimeOfTask() { var obj = new CareerCupQnA(); obj.MaxTimeOfTask(new List <int> { 5, 1, 3, 2, 5 }, 0); }