More often, I see an idea that I've had for a while, then some group with the same idea gets vetted by YC and other investors. In this case, I would feel a little conflicted about still going forward with it due to possible "follower" perception issues, but I think two groups can honestly come up with similar solutions to the same problem.