From 0a87c2f74ce26358546223b070bcaa273147bef2 Mon Sep 17 00:00:00 2001 From: Nupur Hardiya <113535580+NupurHardiya@users.noreply.github.com> Date: Wed, 19 Oct 2022 17:32:40 +0530 Subject: [PATCH] Create Remove Duplicate from sorted array.cpp --- Remove Duplicate from sorted array.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Remove Duplicate from sorted array.cpp diff --git a/Remove Duplicate from sorted array.cpp b/Remove Duplicate from sorted array.cpp new file mode 100644 index 00000000..1352fd41 --- /dev/null +++ b/Remove Duplicate from sorted array.cpp @@ -0,0 +1,15 @@ +class Solution { +public: + int removeDuplicates(vector& nums) { + for(int x=0; x