Common wisdom is that because of its terse nature python is better for interview. And there is good GitHub repo of all python tricks for leetcode. But is there something similar for Java. Java also has lambdas and streams and may be some other features that make code as terse as python. Correct me if I am wrong . Are there any such resources. I think Java helps for concurrency interviews also as python doesnt have true multithreading. I wonder if it's possible to write terse code in Java just like in Python. FYI Python Repo : GitHub.com/peterlamar/python-cp-cheatsheet Looking for Java resources like that.
Python forever. Nobody will ask you to write muti-threaded code in an hour long interview.
What's the Python repo you mentioned?
Python but if you’re way more comfortable with Java, use it instead
Use whatever you want bro.
A little less detailed but these are also there: https://github.com/amirgamil/Python-Interview-Tricks/blob/main/README.md https://github.com/sfdye/python-for-leetcode
Anything for Java ??
From my experience, interviews had specifically asked me NOT to use Java lambda and streams as well as python shortcuts stating they want simple code and not using inbuilt methods I would focus on any language without using built in operations
For what it's worth I did interviews in Java and had no issue coding things in time. It's not as verbose as it used to be, and if you are much more familiar with it then it makes sense to use it. If I was starting from nothing and just picking a language then yea I'd go with python though.
What features made it terse ?
use C
Tech Industry
Yesterday
2965
1 vs 5 Million - no lifestyle change
Tech Industry
Yesterday
413
Bitcoin is the only possible future
India
2h
418
What do vegetarian Indians eat for protein?
Ask Blinders
Yesterday
750
Why is our country owned by Israel? I don't want my tax dollars fund genocide. How can we stop this nonsense?
Tech Industry
2h
596
How many hours of sleep do you get normally?
Poll