There was an error while loading. Please reload this page.
1 parent 0118f45 commit 32e1ee4Copy full SHA for 32e1ee4
1 file changed
searches/double_linear_search_recursion.py
@@ -1,5 +1,5 @@
1
-from __future__ import annotations
2
-def search(list_data: list[int], key: int, left: int = 0, right: int = 0) -> int:
+from typing import Any
+def search(list_data: list[Any], key: Any, left: int = 0, right: int = 0) -> int:
3
"""
4
Iterate through the array to find the index of key using recursion.
5
:param list_data: the list to be searched
0 commit comments