0% found this document useful (0 votes)
13 views1 page

Array and String BASIC

Array and String BASIC

Uploaded by

keertisuthar2002
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views1 page

Array and String BASIC

Array and String BASIC

Uploaded by

keertisuthar2002
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Strings

1. Reverse word in array: https://www.geeksforgeeks.org/reverse-words-in-a-given-


string/
2. Longest common prefix:
https://www.geeksforgeeks.org/longest-common-prefix-using-sorting/
3. Number of distinct subsequences:
https://www.geeksforgeeks.org/count-distinct-subsequences/
4. Find and replace all substrings in string:
https://www.geeksforgeeks.org/find-and-replace-all-occurrence-of-a-substring-in-the-
given-string/
5. Sum of two large number:
https://www.geeksforgeeks.org/sum-two-large-numbers/
6. Longest prefix:
https://www.geeksforgeeks.org/longest-prefix-also-suffix/
7. Longest K unique characters substring:
https://www.geeksforgeeks.org/find-the-longest-substring-with-k-unique-characters-
in-a-given-string/
8. Rank the permutation:
https://www.geeksforgeeks.org/lexicographic-rank-of-a-string/

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/

You might also like