SHADOW088's blog

By SHADOW088, history, 4 months ago, In English

Is it acceptable to skip learning OOPs and Linked Lists for now while focusing on C++ and DSA for competitive programming?

  • Vote: I like it
  • +12
  • Vote: I do not like it

»
4 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Yes

»
4 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Yeah... Absolutely

»
4 months ago, # |
  Vote: I like it +1 Vote: I do not like it

Linked list can be useful. e.g. josephus problem https://cses.fi/problemset/task/2164

  • »
    »
    4 months ago, # ^ |
    Rev. 2   Vote: I like it +10 Vote: I do not like it

    it's absolutely useless in production. this ds will be dead in 10 years i promise you.

  • »
    »
    4 months ago, # ^ |
      Vote: I like it +8 Vote: I do not like it

    There is a very easy recursive solution for that problem

»
4 months ago, # |
  Vote: I like it 0 Vote: I do not like it

If fully going for DSA/CP, then sure, go ahead. No harm in your problemsolving capabilities there. But be sure to come back later, at least with OOP.

»
3 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by SHADOW088 (previous revision, new revision, compare).

»
3 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by SHADOW088 (previous revision, new revision, compare).

»
3 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

OOP model in C++ is quite outdated, bloated and full of bad patterns. If you want to learn actually useful models look either at Golang (which is relatively simple) or Rust (this will take some time to learn).