If it's already predetermined that the interview will be in C, but then the interviewer asks some question that would be much easier in another language (for example C doesn't have stack data structure), what to do?
Code stub for stack but say you will complete later
No . Thats doesnt work. In my interview i was specifically told that the code has to compile and run, and if i forgot to library i was free to Google search it. There is no way you can just add a stub. This has nothing to do with your intelligence. You are always being judged against your peers. If there is someone who beautifully answers that question and passes all test cases, theres no way youre gonna get thru
🍿
If it’s an interview in C, it’s irrelevant if you can do it more easily in another language. That’s not what they are judging you on. They’re judging if you can write C.
No, what if I choose C myself. But the question is the same for me , and for another candidate who chose java
Why in the world would you choose C if you had a choice? Why make it more difficult for yourself? No interviewer is going to change their question based on your preferences.
If you can't quickly write your own stack in C, you're not going to get very far. A simplified stack is trivial to write in a minute.
C is so bad for interviews
Only if you aren’t comfortable with C. I usually favor C but have never been in a situation where I was forced to use C (except when writing some libc function from scratch)
I used C during my interview at Apple and Google. In fact, most interviewers preferred C. I usually ask C specific questions if the interviewee listed it on his/her resume.
How to prepare for it?
Ask Blinders
10h
446
Why no one cares about the lives lost in Gaza, Israel and busy in their own lives?
Tech Industry
4d
44472
What happens when most of your team is Indian?
Health & Wellness
Yesterday
1065
Low Testosterone
Tech Industry
Yesterday
366
Tomorrow is Monday and I feel
Tech Industry
Yesterday
4855
BREAKING: Internal sources confirm another round of layoffs just hit emails at Tesla. For real.
Depends on if the interviewer can understand other languages. Once I tried using java priority queue with comparator instead of C, interviewer didn’t accept
My point is I spent time preparing in C, so now if I have to use another language, isn't that unfair? Considering the interview shall use C was predetermined from before.
You shouldn’t use another language.