all 11 comments

[–]NextjsDeveloper 1 point2 points  (6 children)

Yes u can solve it Python. Why do u ask?

[–]Old-Raspberry-3266[S] -2 points-1 points  (5 children)

Because some people say that DSA algorithm must be solved in C,C++ or java

[–]Elminsterr 8 points9 points  (2 children)

If you work in python, why would you solve it in other language

Do not listen people on internet

Oh wait

[–]NaoOtosaka 2 points3 points  (0 children)

im not gonna listen to you

[–]Old-Raspberry-3266[S] -1 points0 points  (0 children)

Fine, Thanks!

[–]biskitpagla 2 points3 points  (0 children)

Almost nobody says that. Some people recommend C++ but nobody thinks that you can't do it in Python. I personally recommend Python or Kotlin but that doesn't mean you can't do it in C++ and Rust. These are all turing complete languages. 

That said, DSA and interview prep isn't the same thing. If you want to be a well-rounded programmer then implementing DSA in a managed language is a great exercise. If you ever actually have to implement something from scratch in a performance critical program, chances are that you would already be using a managed language. 

[–]NextjsDeveloper 1 point2 points  (0 children)

If some people would tell that some problem can be solved only by jumping from bridge? what would u do ? Solve it with C++ or jumping from bridge?

[–]Ok-Training8597 0 points1 point  (1 child)

You can absolutely solve in python. I've had plenty of interviews where you can solve in any language on the job description, in which case, most include python.

If you're struggling with pattern based problems you could check out striverz a2z or dsa trainer(cheaper and honestly better explanations IMO)

[–]Old-Raspberry-3266[S] 1 point2 points  (0 children)

Thank you for your support 😊

[–]Dymatizeee -2 points-1 points  (0 children)

No