From c6c2c343ff0224720841865abaa6534951928f7f Mon Sep 17 00:00:00 2001 From: Andrew Grangaard Date: Mon, 25 Oct 2021 02:01:06 -0700 Subject: [PATCH] [mypy] Adds type annotations in other/activity_selection #4052 --- other/activity_selection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/activity_selection.py b/other/activity_selection.py index c03956cce5d2..d809bf90a3f3 100644 --- a/other/activity_selection.py +++ b/other/activity_selection.py @@ -10,7 +10,7 @@ # finish[] --> An array that contains finish time of all activities -def printMaxActivities(start, finish): +def printMaxActivities(start: list[int], finish: list[int]) -> None: """ >>> start = [1, 3, 0, 5, 8, 5] >>> finish = [2, 4, 6, 7, 9, 9]