r/flask Jul 20 '26

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 Jul 20 '26

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 Jul 20 '26

That is a fact

2

u/elnoxvie Jul 20 '26

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] Jul 20 '26

[removed] — view removed comment

1

u/SpeedCola Jul 21 '26

This is AI slop

1

u/dowcet Jul 21 '26

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 Jul 21 '26

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 Jul 22 '26

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

1

u/ejpusa Jul 20 '26

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 Jul 21 '26

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.