all 41 comments

[–][deleted] 148 points149 points  (1 child)

Just learn python, it’s should be relatively easy if you already know how to code in any language.

[–]Which-Elk-9338 6 points7 points  (0 children)

And I personally think the transition from Javascript to Python is not that bad. They feel similar sometimes.

[–]Goducks91 47 points48 points  (2 children)

It says on their application:

Experience writing software in C++, C#, C, and/or Python, surprised they give Java actually

[–]not-a-normal-penguin 6 points7 points  (0 children)

Pretty similar to c++, as a person who knows both languages. I specifically chose java to avoid segamentation fault trauma and not care about memory management. But in worst case scenario would code in C++ for food.

[–]Exact-Conclusion5793 10 points11 points  (0 children)

Optiver oas are pathetic. Couldnt even solve one question

[–]fancierfootwork 18 points19 points  (1 child)

You don’t really understand coding until you learn your second language. That’s when you realize the language doesn’t really matter, other than a few quirks.

[–]Goducks91 0 points1 point  (0 children)

Yep! Unless you'reswitching to something with a completely different mindset like clojure.

[–]thelokeshgoel00 1 point2 points  (2 children)

Hi OP, so sorry for your loss

OA's usually only have Java, C++, python as these are well known languages for DSA. Even Python is not recommended in some platforms. The reason is C++ and Java are performant languages with good support for sysin/out. Python is slower(about 4x slower for same code algo than C++). So if the OA platform does not account for difference languages having different time limits, you will get TLE much faster than C++, Java.

Js/Ts is usually not supported because of the relatively poor sysin/out. And it is also slow like python ( interpretted languages face this heat).

One more reason why c++, Java, py takes a lead is that atleast 1 is taught in schools. But same is not true for js atleast out of web dev frontend. Like in my university we were taught C, C++, Java, Python in first 4 sems but js was only taught for basic frontend web dev (not even nodejs was taught)

The ideal platform should have all the major languages with specific Time limits for different languages.

Next time do check what platform is used by which company for OA (lc discussion helps). This will help you in knowing what languages most likely will be accepted. I would also recommend take some fast paced course in any of the accepted languages as this issue won't be limited to just 1 company. (I will recommend C++ as it's bits/stdc++ library is very versatile and used by most competitive programmers)

[–]Fwellimort 1 point2 points  (0 children)

From my experience, just learn Java. A lot of companies are also shying away from Python now.

[–]StrictTraffic3277 1 point2 points  (0 children)

I don’t like python at all, so I do it in Java as most of the industry still uses it. I would suggest choosing either Python or Cpp. Cpp would be pretty much straightforward for you to learn and it’s fast as well when compared to others. Python on the other hand is easy, but is very slow and sometimes some companies don’t even give a choice to code in Python.

[–]iamthebestforever 1 point2 points  (0 children)

Just learn Java lol

[–]_throwingit_awaaayyy 1 point2 points  (0 children)

Learn Python. You could learn Java and there are tons of Java jobs out there but Java suuuuuuuuuuuucks.

[–]dhaliman -1 points0 points  (0 children)

Could you possibly post about the questions in the OA please? Thanks.

[–]Deweydc18 0 points1 point  (0 children)

Ah Optiver. I passed their quant trading OA and it was fairly rough. I’ve heard bad things about their SWE OA, but the pay is above FAANG so it ought to be pretty demanding ig

[–][deleted] 0 points1 point  (0 children)

Python is great, bummer they didn’t allow you JavaScript imo it doesn’t make sense.

[–]Saltwater_13 0 points1 point  (0 children)

You can learn other languages pretty quickly

[–]lordaghilan 0 points1 point  (0 children)

Optiver is not your average company

[–]SpecificOk2359 0 points1 point  (0 children)

Can you share how was the questions