Stong vs Duck type languages for OOD interviews

I have never done an OOD interview and am wondering if we are expected to use strongly typed languages?

I work daily in Typescript, but never interact with classes. I have been learning/using Python for leetcode algo/ds problems (220 LC) and am just starting to learn the syntax around OOD problems.

I find the generics a little cumbersome in Python and am wondering if it is acceptable to code without types at all in Python for OOD questions?

I'm also on the fence of switching to Typescript, which brings in another set of things I need to review (this, prototypes, how JS classes actually work, etc.). Either way, I will have to learn the nuances of the languages related to OOP.
I've even considered re-learning Java just for OOD problems.

Any advice or insight would be great.

Thanks in advance!

Comments (3)