class Solution {
public:
void reOrderArray(vector[HTML_REMOVED] &array) {
int len = array.size();
if(array.empty()) return;
vector[HTML_REMOVED] a2 = array;
int counter = 0;
int flag = 0;
//int oushu = 0;
for(int i =0;i < len;i++)
{
if(a2[i]%2 == 1)
{
counter += 1;
array[flag] = a2[i];
flag += 1;
}
}
for(int j = 0;j<len;j++)
{
if(a2[j]%2 == 0)
{
array[flag++] = a2[j];
}
}
}
};