A lot of interviews both online/automated and in person expect Java, Python or C++. But don't support C#. Even for big companies. C# is also missing priority queues and sometimes the optimal solution requires one. Been screwed over due to these reasons multiple times now. Java is pretty similar to C#, should I become more familiar with it so I can use it in an interview setting?
Because C# is used in far fewer tech stacks
True, it makes sense, just didnt realize how much interviewers actually care about tech stack.
It's not that I'm opinionated, I just don't know much c# and it will be harder to see if you've made mistakes
Only use C# at a MSFT shop
It will be held against you at other places?
Just won’t know it. Better stick with Java
If you interview at apple SDE and not use java, 95% you'll fail interview. In other companies, if you dont use java, and run into a lc problem that requires use of minheap, and you only know c#, fail interview right away. Bottom line.. java is the best coding language of choice for coding interviews. If you're going to spend tons of time on 700 LC problems, do it in java
Yeah I've been burned enough at this point for not using Java. Wish I had known this sooner, thanks.
Why would you use Java instead of Objective-C or Swift for Apple...?
I am .NET developer and started my career with Java. I also code in JavaScript but anyday I prefer Python over any other language for Leetcode.
Try doing calender booking 1 on LC with python during an interview. You'd have to write more code on whiteboard, and convince the non python expert interviewer that it works, and if you make a mistake, fail interview. Btw if I see code that's outside of my language expertise, I go back and load up pycharm or whatever and run that code. If it doesnt work, fail.
I just wish that you never interview me 😛
I am certified C# dev and I have been always using JS for interviews.
For the reasons I mentioned or some other ones? And why JS?
I just think is really flexible and that allows to do quick tricks that in C# requieres more boiler plate.