Added running time of algorithm and update readme.md file

pull/824/head
Prashant Bhapkar 2022-08-31 16:30:53 +05:30
parent 710d7bfbf6
commit 41ace4231f
2 changed files with 9 additions and 0 deletions

View File

@ -7,6 +7,7 @@
- [Reverse an array](arrays/reverse-array.c)
- [Maximum difference](arrays/maximum-difference.c)
- [Largest Element](arrays/largestElement.c)
- [Second Largest Element](arrays/secondLargestElement.c)
- [Sieve of Eratosthenes](arrays/sieve-of-eratosthenes.c)
## Bit Manipulation

View File

@ -28,3 +28,11 @@ int main()
second(arr,size);
return 0;
}
/*
----------------Sample Output----------------
> 88 45
Time Compexity: O(n)
Space compexity: O(1)
*/