DEV Community

Cover image for Data-structure & Algorithm

Posted on

Data-structure & Algorithm

Why learn Data-Structures And Algorithm πŸ€”?

  1. To Crack the Interviews of the Top Product Based Companies.
  2. To Solve Some Real-World Complex Problems.
  3. Data structure and algorithms help in understanding the nature of the problem at a deeper level and thereby a better understanding of the world.

Where to Start As beginnerπŸ€·β€β™€οΈπŸ€·β€β™‚οΈ.

These days there is a lot of platforms to start with data structure and Algorithm.At First, you must know a programming language like c++/java/python, then basic data structures like an array, hash map, tree, graphs, heap, etc. After this, move to coding platforms like hackerrank. HackerEarth, Leetcode, CodeChef, codeforces, etc and start practicing the variety of questions.

Choosing a Programing Language πŸ€·β€β™‚οΈ.

Which one to choose πŸ€” according to one's choice, need and Syntax Comfort-ability.

My opinion:-

  • C++: If you are interested in coding contests like ACM-ICPC then C++ makes your contest easy because of its STL library in-build functions.

  • Java: If you want to explore coding contests and development both, better to go with java, but you will not get a library like STL in it. And also syntax is a bit lengthy.

  • Python: Basically python is best for development but can also be used for coding contests, with rich in-build library functions.

Where to Practice .πŸ“²

Note/Suggestion: πŸ“—πŸ“•πŸ“™

First solve 250 to 350 Standard questions (must do) before moving to any Competitive coding platform. Benefit of doing-After doing the SDE sheet you will have basic clarity and command over the data structure.

1.SDE Sheets
There is so many SDE sheet available on the internet but some
amazing ones are here.

2.Platforms for Competitive Programming

  • Codechef
  • Codeforces

Best resources πŸ‘πŸŽ‰

  1. Websites
  1. Youtube Channels

πŸ€¦β€β™€οΈπŸ€¦β€β™‚οΈMistakes Done by learners while learning Data structure & Algorithm

  • Inconsistency is the one of the Major problem , which must be avoided while doing daily problem-solving.
  • Going through so many resources, Not completing any one SDE sheet will make you land no ware.

Best Practices πŸ‘

  • Solve daily at least 2 questions from any platform, it will give you confidence and make you learn a lot.
  • Always stick to 1 resource completely and then move to another one.


And show your support
Buy me a coffee

Top comments (7)

amrita1295 profile image
Amrita Singh

Interesting stuff πŸ‘ŒπŸ‘Œ

devanshux21 profile image

Bro can you tell me roadmap if I am mechanical engineer

pawanupadhyay10 profile image
Pawanupadhyay10 • Edited

Yes , but I can help u in computer science only . Feel free to connect me on LinkedIn with same name pawan Upadhyay

jimstockwell profile image
Jim Stockwell

Great resources. Thanks!

pawanupadhyay10 profile image

Cool 😊

sachinbisht272 profile image

Nice πŸ”₯πŸ”₯πŸ”₯

aboss123 profile image
Ashish Bailkeri

Interesting stuff. Would practicing USACO problems also be a good way to learn how to apply algorithms?