|
|
|
|
|
by jiveturkey
2770 days ago
|
|
come on. this is so obvious. read an int at that location and see if you take a misaligned read fault. so easy. if CPU masks it then time the read. ok partly sarcasm but partly: this isn’t a hard question. i’m sure i could enumerate ALL the possible ways to do this. maybe i’m good at puzzles. if your comment is about how awful an interview question it is, in that case yeah i agree. but not because it’s hard. anyone should be able to answer this. |
|
Further I was pointing out I prefer fizzbuzz because it at least bears a resemblance to what would be done on a daily basis on the job.
> anyone should be able to answer this.
Anyone should be able to answer fizzbuzz yet people who look good on paper constantly fail it. This is why it is useful. And that is why it is actually not a bad interview question. (in my opinion)