Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 12 / LinearSearch.cpp
diff options
context:
space:
mode:
1 files changed, 0 insertions, 14 deletions
-rw-r--r--Sem. 12/LinearSearch.cpp14
diff --git a/Sem. 12/LinearSearch.cpp b/Sem. 12/LinearSearch.cpp
deleted file mode 100644
index 16e9d1a..0000000
--- a/Sem. 12/LinearSearch.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <iostream>
-
-
-bool linearSearch(const int* arr, unsigned size, int el)
-{
- if (size == 0)
- return false;
- return *arr == el || linearSearch(arr + 1, size - 1, el);
-}
-
-int main()
-{
-
-}