Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 08 / task3.cpp
diff options
context:
space:
mode:
1 files changed, 2 insertions, 2 deletions
-rw-r--r--Sem. 08/task3.cpp4
diff --git a/Sem. 08/task3.cpp b/Sem. 08/task3.cpp
index 6d7d209..a6b0ca9 100644
--- a/Sem. 08/task3.cpp
+++ b/Sem. 08/task3.cpp
@@ -20,7 +20,7 @@ void print(int arr[SIZE])
cout << endl;
}
-int LongestPalindromicSubarray(int arr[SIZE], int n)
+int longestPalindromicSubarray(int arr[SIZE], int n)
{
int currentSize = n;
@@ -44,6 +44,6 @@ int main()
{
int arr[SIZE] = {1,4,3,2,3};
- cout << LongestPalindromicSubarray(arr, 5);
+ cout << longestPalindromicSubarray(arr, 5);
}