Most of the companies claim you can use any programming language during interview. Is that really true? What language generally you use? I really like python for interview becauseoz of less keystrokes.
I use cpp though it didnt matter at Google for Hc it helped a lot for team match. I got the perception cpp at G/Fb is well respected at other tech companies not so much though they were okay with me using it
I was able to crack a coding interview where all of my four interviewers were coming from a Java background while I was comfortable using Python. As long as you explain what your code is doing, you should be good. Be sure to communicate well, a good interviewer would rather be interested in your thought process and wouldn't judge you on the language that you choose, else you better get outta there :P
Use a language that’s widely used at the company. If you use a language that the interviewer/HC/HM isn’t familiar with, you’re less likely to convince them that you’re a strong coder.
Java is best. If you ever want to include apple in your list if companies to interview, they highly value java, you get dinged if you dont use it. Also, problems that use treemap (red black tree) data structures come up. I usually ask questions that require use of that. If you code in python, c# or whatever else language, it's pretty much auto fail. If you're going to invest a ton of time doing 500 LC problems, just learn java and do it.. otherwise you're just setting yourself to fail interviewing at some companies
You’re a bad interviewer
Agreed you’re a terrible interviewer. If a candidate can identify that the solution needs an rb or avl tree and program assuming an interface for said data structure, why would you fail them?