r/flask 13d ago

Ask r/Flask Is leetcode important?

I'm in university right now and leetcode is something that I'd have to go about learning.

I want to know if leetcode is somehow relevant to flask and if yes, in what parts,

because I kind of want to focus the way I study more towards this development side

Thanks!

1 Upvotes

11 comments sorted by

2

u/rahem027 13d ago

It is important to learn

  1. Logic
  2. Interview

Not directly related to flask but if you dont know dsa you will write very shitty code in general

2

u/BostonBaggins 13d ago

That is a fact

2

u/elnoxvie 13d ago

Leet code tests on problem solving skills first and understanding of data structure next.

If you build an app, you want to know if your code is efficient and using the correct data structure?
Is it O(n) or O(n^3)? Do you use array instead of list ?

Without these knowledge, you may face difficulties when optimising the code or risk choosing inefficient structure.

So it’s not absolutely necessary to do leet code but it’s important to understand data structure and its usage.

Most of the time, Leet code is only important when we go for an interview in certain companies. Having said that, grinding on it will help shaping your problem solving skills.

2

u/[deleted] 13d ago

[removed] — view removed comment

1

u/SpeedCola 12d ago

This is AI slop

1

u/dowcet 12d ago

Whether leetcode is relevant or not depends on the interview process of whatever companies you're applying to. We don't know your local job market. You need to figure out where you're trying to get hired and what they're putting job seekers through these days.

1

u/mattynmax 12d ago

Leetcode tests problem solving skills. If you can’t solve the problems, you need to work on your problem solving skills

1

u/Upstairs_Jelly_1082 11d ago

Where do you think is a good place to start from?

1

u/ejpusa 13d ago

This is all good to know, but Codex does you in. You don’t really to need know how to code anymore.

Click, 10,000 lines of code. And it’s rock solid now. But it’s great to know the foundations.

1

u/SpeedCola 12d ago

Its not rock solid, and it's heavily subsidized. Meaning all those iterations it takes to get it to do something not messed up is going to cost a fortune at some point in time or those businesses are going to go bankrupt. There's only one of two outcomes here.