Those of you that interview in Java

L3 Technologies / Eng chHh13
Feb 13 26 Comments

Do you guys have trouble white-boarding with how verbose Java is? I am currently preparing for interviews in Java but writing out stuff like HashMap map = new HashMap() takes to long #faang #leetcode #amazon #facebook #google #dropbox #uber


Want to comment? LOG IN or SIGN UP
TOP 26 Comments
  • Google ;O 𓂺
    I interview in JS because Java is so fucking clumsy.
    Feb 13 3
    • American Express AnonBoi
      Curious how you deal with not having built in data structures such as priority queues and linked lists
      Feb 13
    • Google ;O 𓂺
      They're all easy to build. My last 4 interviews I finished way ahead of schedule and the coordinator said I did amazing. JS is just a dead simple interview language.
      Feb 14
  • Sorry to be that guy but technically, it's better to use Map<String, Integer> = new HashMap<>();
    Feb 13 6
    • Google ;O 𓂺
      Why not an ImmutableMap
      Feb 14
    • Goldman Sachs siksiksik
      But where's the identifier?
      Feb 14
  • Apple wJcv14
    I've been Java developer for 10 years but then I learned Python for interviews and never went back to use Java on whiteboard.

    Python FTW
    Feb 13 1
    • L3 Technologies / Eng chHh13
      Did you interview at apple with python?
      Feb 13
  • Petrobras xgh
    var map = new HashMap<String, Integer>();
    Feb 13 0
  • Apple YuDw51
    If it’s Apple some groups will require c/c++. They are testing knowledge of the underlying system not just getting the algorithm right. So check with your recruiter
    Feb 13 0
  • EATON / Eng Façebøōk
    I agree. I just accepted the fact and try to code/write as fast as possible. Still, there were numerous times when I felt I should've learnt Python for interviews.
    Feb 13 0
  • Netflix the.oa
    I don’t find it burdensome at all.
    Feb 13 0
  • Apple ljhdsg
    I've always interviewed with Java and never had any problems/delay just because of the language verbosity.
    Feb 13 0
  • Microsoft ToharBAAP
    I don’t even give a shit about syntax.....even pseudo code is fine... as long as you can think on your feet and can handle a curveball
    Feb 13 2
    • EATON / Eng Façebøōk
      Not every interviewer is like you. Infact most are not.
      Feb 13
    • FLYR hQJf32
      Idk I feel like most companies I’ve interviewed at cared more about critical thinking and analysis (algo) over syntax. I can’t think of a time where I’ve ever been called out for a syntax/language thing in my whiteboarding
      Feb 13
  • SAP RrWs73
    Consider Groovy.
    Feb 13 0


    Real time salary information from verified employees