i am about 300 leets in java but i am always jealous of concise python solutions that people post in discuss.
Debating if would be worth taking the hit of switching to python now.
Debating if would be worth taking the hit of switching to python now.
In Python you just need to focus on the actual algorithms than the actual minuteae details such as "let me create a function to copy this array". As long as you are aware of limitations such as Python int has no restriction like Java (int32, int64) etc, because some problems require you to look into that restrictions. Python string concatenation is also O(n^2) because there is no stringbuilder in Python. Just be aware of those and it should be fine.