Create Remove Duplicates from Sorted Array II.cpp

Follow up for "Remove Duplicates":
What if duplicates are allowed at most twice?