Python or Java for interview

AT&T / Eng rmak
May 3 6 Comments

Hello everyone, looking for suggestions here.

Previously I have done programming in Java (4yrs) and after that, last 3 years I have been doing DevOps (docker, bash script and python).

Now I am preparing for interviews. So should I go back to Java to prepare or should I learn Python?

With Python my experience is just scripting. So will have to learn OO and web dev. But I am hoping that Python would prepare me for future roles such as ML and modern webapp stack.

Java would be quicker to learn but again have to refresh on data structure.

I am targeting FAANG as well as other companies

Thank you all in advance


Want to comment? LOG IN or SIGN UP
TOP 6 Comments
  • Akamai Technologies Bboi
    May 3 0
  • Google Lenin-Marx
    don't need OO and web dev for leetcode - just go with Python (2-3x more concise)
    May 3 0
  • Google / Eng

    Google Eng

    Top Contributor or GTFO
    Python is the best language for coding interviews.
    May 3 0
  • Amazon KULL00
    For interview, use what you’re best at. Some of your other points are valid but not important for interviews.
    May 3 0
  • Zillow Group GgjN77
    Imo, use whatever you're most comfortable with at the current time.
    If you're about equal, use python for FANG- typically less code to do the same, and FANG is language agnostic for interviewing. Might be good to mention you know Java though be prepared for Java specific questions
    May 3 0
  • AT&T / Eng rmak
    To me Python seems easier to learn and I feel like it can be used for many things.

    I wonder if a company where Java is mainly used would still consider me if I mentioned Python as primary language in resume.
    May 3 0


    Real time salary information from verified employees