If next element is also same , then there are multiple occurrences , so print it
Console . Write ( arr [ i ] + " ▁ " ) ; } else if ( it != v . Length ) Console . Write ( v [ it ] + " ▁ " ) ; else Console . ( - 1 + " ▁ " ) ; } }