Contains Duplicate Gfg Practice Cpp