need to find duplicate strings in file`
Hi All,
I need to write a C code for finding the duplicate strings in a file.
the problem is all strings are concatenated in a single file.
I first need to take out the strings based on number of characters as no delimiter is present than do the comparision.
i need to get all the duplicate strings in another file.
the filesize is really huge 10 to power 8 strings.
For ex:
Input file:
abcddefgdefgghijjikl
considering the size of string is four
expected output:
defg
thanks in advance