Hacker News new | ask | show | jobs
by ryankey721 4815 days ago
Are problems like these actually asked during job interviews?

I don't mean that this isn't a good topic, just that I always imagined that interview questions would be harder to solve and that they wouldn't ask for contrived solutions (solutions that aren't obvious and could lead to bugs for new coders, while not being better in many other ways).

1 comments

Hi Ryankey721, yes, it does get asked. Interviews are funny, some time you get theoretical non relevant question, some time easy one like this, and very rarely relevant coding exercise.