Should I learn a new language for Leetcode?

New
wlbdude

New

wlbdude
Dec 31, 2021 25 Comments

18 yoe targeting staff roles. During my entire career, I've been working in C#.

I'm getting started with Leetcode and would rather not add another item to the to do list that involves learning a new language. But I'm willing to do it if there are lots of benefits in the interviewing world.

Should I learn a new language? Should it be python?

TC: 220k
Yoe: 18

85 PARTICIPANTS SELECT ONLY ONE ANSWER
VOTE VIEW RESULT

comments

Want to comment? LOG IN or SIGN UP
TOP 25 Comments
  • Python is undoubtedly the best language for coding interviews. Super concise and has all the right data structures
    Dec 31, 2021 7
    • Financial Services Company
      jamychal

      Financial Services Company

      jamychal
      @Amazon do you think OOP is better than functional programming? and is it worth discussing the tradeoffs between OOP and functional in a coding interview?
      Dec 31, 2021
    • Amazon
      sDWu36

      Go to company page Amazon

      sDWu36
      I personally do, yes. But you will find many people who don’t agree. My experience in the real world is most people prefer OOP, so it’s most definitely worth being familiar with the concepts

      To me it’s a bonus if the candidate demonstrates good OOP knowledge, but it’s not a dealbreaker if he or she doesn’t know it
      Jan 1
  • C# is good enough for interviews. They finally even added PQ in .net6
    Dec 31, 2021 1
  • When you’re interviewing it’s better to use a language you know very well.

    Many places are language agnostic when it comes to hiring.

    Unless the job specifically asks for a different language.
    Dec 31, 2021 0
  • Amazon
    sDWu36

    Go to company page Amazon

    sDWu36
    I’d learn Java because it’s closest to c# and a good language for interviews
    Dec 31, 2021 0
  • Meta
    bewb

    Go to company page Meta

    bewb
    LC questions are used to judge your programming problem solving skills - not how adept you are at a specific language.
    Dec 31, 2021 0