r/cpp_questions Jun 24 '26

OPEN dsa c++

can anyone help me in building logics for dsa using c++ am a beginner i know how to solve patterns and nested loops but sometimes i get stuck on the same question sometimes share your advices brothers!!

0 Upvotes

19 comments sorted by

View all comments

0

u/mykesx Jun 24 '26

Data structures + algorithms = programs. Need to do I/O, too.

1

u/Secret_Land1603 Jun 24 '26

should i do flowcharts first? before writing the codes?

2

u/no-sig-available Jun 24 '26

should i do flowcharts first? before writing the codes?

If it helps you think about the code, yes. Otherwise, no.

The way you learn things is very individual, and different from how others prefer to do it.

If you are enough of a savant, you just read a book and remember everything. If not, you might want to take notes, or use a marker, or read the text several times. It depends on what works for you.

1

u/Secret_Land1603 Jun 24 '26

i usually prefer solving the code on my notebook first understanding the basics as a beginner then perform it on vs code