For Algorithm Questions, what language do you prefer?

New / Eng WeRoRo
Oct 2, 2017 5 Comments

Hello, I have upcoming interviews from Microsoft, Amazon, and so on. I'm a new grad student.
I have practiced algorithm questions by using Python. For Design, I have used C++.
The problem is my brain getting weird since I have used Python, C, C++, Java at the same period. I often forget which builtin function is for which language. So this time, I want to choose one language to prepare for interview. I'm going to choose C++ or Java. Which one is better for Algorithm and interview? Because of pointer, C++ could be better to use, but I'm not perfect to use pointer in C++, java could be better for whiteboard. Could you please help to choose one? Thanks for your time.


Want to comment? LOG IN or SIGN UP
TOP 5 Comments
  • Microsoft / Eng k5nm29
    Oct 2, 2017 0
  • Juniper zzq
    The language that is second nature to you
    Oct 2, 2017 0
  • HealthNow / Eng bleepbIoop
    pseudo code + language of choice

    they don't expect perfection, they want to see how you work through problems
    Oct 2, 2017 0
  • Epic / Eng

    Epic Eng

    looking for a software developer role
    How did you get past the Microsoft phone interview? I had lots of behavioral and nailed the brain teaser. Not sure what else was expected.
    Oct 2, 2017 0
  • Microsoft / Eng mintyMoose
    I would say python for general algorithm / oop questions due to its simplicity and syntax (java is pretty verbose). If it gets specific on performance issues, c++ would probably be a better choice
    Oct 2, 2017 0