From 7213a78f503fb5b80afa09ed42543185f5d85f62 Mon Sep 17 00:00:00 2001 From: Arshit2001 <79501807+Arshit2001@users.noreply.github.com> Date: Fri, 22 Oct 2021 14:35:03 +0530 Subject: [PATCH] Remove Duplicates From Sorted Strings --- Remove Duplicates From Sorted Strings.c | 48 +++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Remove Duplicates From Sorted Strings.c diff --git a/Remove Duplicates From Sorted Strings.c b/Remove Duplicates From Sorted Strings.c new file mode 100644 index 0000000..a8b6576 --- /dev/null +++ b/Remove Duplicates From Sorted Strings.c @@ -0,0 +1,48 @@ +#include +void remDuplicates(char *str) +{ +int x = strlen(str),temp,count=0; + int i,j; + /*for(i=0;i