Some idiot from #uber asked me this question on one of my coding rounds: "Compress an image represented as a 2D matrix." That's all he gave me. I had to fumble around for ~20min just to scope it out. And no, this interview wasn't for some image processing specialist position. It was for a generalist backend SWE pos. Is this a reasonable question to ask during a 45min interview? Or was this guy just trying to screw me over?
I would have aced it. But you don’t have CS degree?
What algorithm would you pick to compress the image?
Lol you can write an image processing algorithm in 30min?
Do a retrospective and move on, Uber is not that great of a company. Consider it free practice.
It’s general but still a pretty clear problem statement. Lots of opportunities to talk about things
It was a DSA coding round though. I had to have a working solution by the end of the interview
Yes. Yes.
Indian interviewer?
Asian maybe
Ya indian
I had the worst Uber interview. They actually thought I was someone else and mixed up the interviews. I had to swap with the other candidate halfway. Then, they blamed it on me saying it’s because I have the same name with the other candidate. I do not and it’s not even remotely similar. complete idiots.
Very reasonable question. It’s pretty straightforward to implement. Not sure why you think otherwise.
Agreed on Uber generally giving out terrible interviews. During an LC round, one of the interviewer mentioned that the college I went to was overrated and not much more prestigious than his out of nowhere during his intro lmfao
lol wow
Why not just implement avg pooling using a sliding window? Though interviewer should have given hints what he was looking for.
Yes, that's what I would have done. 10 min of discussion and 10-15 min implementation
umad?