added deleted dups II solution