message: code added
  solution of remove duplicates from a sorted array
diff: @@ -46,6 +46,17 @@ class Solution{
  public:
  int remove_duplicate(int a[],int n){
  // code here
  + if(n == 0) return 0;
  + int i = 0;
  + for (int j = 1; j < n; j++)
  + {
  + if (a[j] != a[i])
  + {
  + i++;
  + a[i] = a[j];
  + }
  + }
  + return i+1;
  }
  };
  