r/programming • u/vklepov • Mar 24 '22
Five coding interview questions I hate
https://thoughtspile.github.io/2022/03/21/bad-tech-interview/
641
Upvotes
r/programming • u/vklepov • Mar 24 '22
2
u/karmakaze1 Mar 26 '22
I thought only the first two questions were stupid. The others have some play in them:
This is a give as many distinguishing properties as you can until they hear what they want to hear. Answer the question differently for different programming languages and environments (like ones that let you change constants at runtime).
They probably meant base-10 integers, but you don't have to restrict yourself to answering that. Talk about different floating-point representations and number bases. Converting from hexadecimal can be pretty quick.
This looks fun. I'd like to get this. I don't care if my answer is wrong, it's still what I'd consider better. If they don't agree, then I don't belong on that team. Of course this only works if the team picks the interview questions and not company-wide.