diff --git a/E_2206_DivideArrayIntoEqualPairs.cpp b/E_2206_DivideArrayIntoEqualPairs.cpp new file mode 100644 index 0000000..0431acf --- /dev/null +++ b/E_2206_DivideArrayIntoEqualPairs.cpp @@ -0,0 +1,14 @@ +class Solution { +public: + bool divideArray(vector& nums) { + unordered_map num_map; + for(int i=0; i