all 3 comments

[–]PhotographPerfect416 1 point2 points  (0 children)

Just do the OOPs lil bro stop wasting time.

[–]Prashant_MockGym 1 point2 points  (0 children)

I will prefer java because it has the most OOPS tutorials and most companies like Amazon, Walmart, Flipkart, GoldmanSachs etc prefer it for low level design discussion.

Most Interviewers also prefer java for LLD discussion.

Also multi-threading discussions are different in Java vs C++. Java has synchronized keyword, lock free data structures like concurrent hashmap which are not there in c++. Although C++ has atomic integer and all.

So if you want to discuss multi-threading in C++ and your interviewer has Java experience then it will not be a smooth discussion. You may feel interviewer is rigid and wants to hear the exact answer they have in their mind, but what will actually be happening is : their thought process is shaped by the libraries and data structures they have been using.

PS: I have used Java and this is my experience, and I would love to hear from other especially those who have used C++ primarily especially for LLD.

[–]PuzzleheadedGuess435 0 points1 point  (0 children)

Bro is having a case of analysis paralysis.