Array and String BASIC
Array and String BASIC
Array
1. Reverse array:
https://www.geeksforgeeks.org/program-to-reverse-an-array/
2. Rotate array:
https://www.geeksforgeeks.org/c-program-cyclically-rotate-array-one/
3. Find duplicates:
https://www.geeksforgeeks.org/find-duplicates-given-array-elements-not-limited-
range/
4. Sort array of 0, 1 and 2
https://www.geeksforgeeks.org/sort-an-array-of-0s-1s-and-2s/
5. Factorial:
https://www.geeksforgeeks.org/factorial-large-number/
6. Kth largest and Kth smallest number in array:
https://www.geeksforgeeks.org/kth-smallest-largest-element-in-unsorted-array/
7. Sub array with given sum:
https://www.geeksforgeeks.org/find-subarray-with-given-sum/
8. Find if There is Any Subarray with a Sum Equal to Zero:
https://www.geeksforgeeks.org/find-if-there-is-a-subarray-with-0-sum/