Interviewer: can you reverse a string?
-
Interviewer: can you reverse a string?
Me: would you like to see a random access invertible shuffle iterator which visits the items in a low discrepancy sequence to improve results in stochastic algorithms?
Interviewer: uhhh?
Me: how bout a point set that is hyper uniform over both space, and separately, time?
Whenever I have to interview again that is how it's going to go down, and will probably result in rejection š
-
Interviewer: can you reverse a string?
Me: would you like to see a random access invertible shuffle iterator which visits the items in a low discrepancy sequence to improve results in stochastic algorithms?
Interviewer: uhhh?
Me: how bout a point set that is hyper uniform over both space, and separately, time?
Whenever I have to interview again that is how it's going to go down, and will probably result in rejection š
@demofox I feel like anyone asking you to reverse a string has either a) not read your resume or b) has a completely broken hiring culture. Either way probably quickest to say a pleasant good bye then and there.
-
Interviewer: can you reverse a string?
Me: would you like to see a random access invertible shuffle iterator which visits the items in a low discrepancy sequence to improve results in stochastic algorithms?
Interviewer: uhhh?
Me: how bout a point set that is hyper uniform over both space, and separately, time?
Whenever I have to interview again that is how it's going to go down, and will probably result in rejection š
@demofox Oh, that's easy. Just perform a complex valued DFT of the byte values twice in a row. It's O(n log n) so it's even *relatively* efficient.
-
Interviewer: can you reverse a string?
Me: would you like to see a random access invertible shuffle iterator which visits the items in a low discrepancy sequence to improve results in stochastic algorithms?
Interviewer: uhhh?
Me: how bout a point set that is hyper uniform over both space, and separately, time?
Whenever I have to interview again that is how it's going to go down, and will probably result in rejection š
@demofox INTERVIEWER: Can you reverse a string?
ME, pulling a string from my pocket: Of course.
-
@demofox INTERVIEWER: Can you reverse a string?
ME, pulling a string from my pocket: Of course.
@shanecelis lol I laughed in real life
-
Interviewer: can you reverse a string?
Me: would you like to see a random access invertible shuffle iterator which visits the items in a low discrepancy sequence to improve results in stochastic algorithms?
Interviewer: uhhh?
Me: how bout a point set that is hyper uniform over both space, and separately, time?
Whenever I have to interview again that is how it's going to go down, and will probably result in rejection š
@demofox a long long time ago last time I was unemployed and job hunting I had an interview with apple and they asked me to reverse a linked list. so I said I'd use whatever library function is available. interviewer said no, pretend there isn't one. then I gave them a naive O(N) solution and then the interviewer said it was no good because it used recursion and thus too much stack memory and what if the device didn't have enough memory?!
-
@demofox a long long time ago last time I was unemployed and job hunting I had an interview with apple and they asked me to reverse a linked list. so I said I'd use whatever library function is available. interviewer said no, pretend there isn't one. then I gave them a naive O(N) solution and then the interviewer said it was no good because it used recursion and thus too much stack memory and what if the device didn't have enough memory?!
@demofox tbh it was good to have bombed that one because it helped me realize I should brush up on my c++ before applying for any of the jobs I actually wanted
-
@demofox tbh it was good to have bombed that one because it helped me realize I should brush up on my c++ before applying for any of the jobs I actually wanted
@demofox anyways on the reversing a linked list challenge, I want to say that I asked them what the requirements would be eg context of its use and the interviewer was like :) no just come up with something impress us :) :) but I might be misremembering as that was ~10 years ago.