How can one become good at Data structures and Algorithms easily? - GeeksforGeeks
How can one become good at Data structures and Algorithms easily?
- Difficulty Level : Easy
- Last Updated : 12 Jun, 2021
Designed by Freepik
Let us first clarify the question. There is not any easy way to become good at anything but there is an efficient way to do everything.
Let us try to understand the difference between easy and efficient here with the help of a programming question! Consider the problem of “Searching an element in a sorted array“.
- Person A solves the above problem by using Linear Search algorithm.
- Person B solves the above problem by using Binary Search algorithm.
So, person A here solved the problem in an easy way yet Person B solved the problem in an efficient way.
Now, the efficient way of learning Data Structures and Algorithms depends on a several factors:
- Your prior knowledge of programming languages and basic DS and Algos.
- The purpose for which you want to learn it.
- The resources available to you.
- A perfect guide!
Let us now take a deeper look at each of the points highlighted above:
- Prior knowledge of DS and Algo: If you are already well versed with the basic data structures like Arrays, Linked Lists etc. and some of the basic algorithms like Sorting, Searching etc. then you will comparatively take much less time than a complete newbie as you already know the basics. For example if you even don’t understand the programming example mentioned at the start of the article then you have a long way to go.
- Purpose of learning DS and Algo: It also depends on the purpose for which you want to improve your knowledge of Data Structures. Some people learn them for job interviews, some for competitive programming and some for gaining knowledge. If you are preparing for Job Interviews then you have a limited set of Data Structures to learn which are most commonly asked in the interviews, if you want to become a good competitive programmer then you will have to focus on complex data structures like Segment Trees, Fenwik Tree, Binary Indexed Trees etc.
- Resources Available: Resources play a most important role in learning anything. You need a set of good tutorials which are descriptive enough to clear all of the concepts from basics to advanced. You must also have a popular set of questions to practice the knowledge you have gained.
- A Guide: Let’s just say you have figured out all of the above three points. You know the things you want to learn, you know the purpose for which you want to learn and you also have all of the resources and tutorials to do so. But you are still confused on a lot of things like “Where to Start?”, “How to Start?” etc. So, you need someone to guide you through the process. That is there must be someone to help you use the resources available in an efficient way.
Solution to the above problems: At GeeksforGeeks, we already have a vast collection of tutorials and problems based on Data Structures and Algorithms written by some good competitive programmers around the globe. We also have many past, running and upcoming courses on Data Structures and Algorithms which can be found on GeeksforGeeks-Courses.
If you are preparing for Interviews, we recommend you to go through the following links:
- Placement Preparation Guide
- A Step by Step Guide for Placement Preparation
- Top 10 algorithms in Interview Questions
- Top 10 algorithms in Interview Questions | Set 2
- How to prepare for top MNCs?
- Sudo Placement
If you are an aspiring Competitive Programmer, visiting below links is a must:
- How to begin with Competitive Programming?
- How to become a master in competitive programming?
- A Better Way To Approach Competitive Programming
- Tips and Tricks for Competitive Programmers
- Tips and Tricks for Competitive Programmers | Set 2
- Advanced Data Structures
- Top 10 Algorithms and Data Structures for Competitive Programming
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course.
In case you wish to attend live classes with experts, please refer DSA Live Classes for Working Professionals and Competitive Programming Live for Students.
Like
0
Commonly Asked Data Structure Interview Questions | Set 1
RECOMMENDED ARTICLES
Page :
1
2
3
How do I become a good Java programmer?
7 Essential Tips To Become A Good Technical Leader
Introduction to Data Structures | 10 most commonly used Data Structures
Count of strings that become equal to one of the two strings after one removal
Why Data Structures and Algorithms are "Must Have" for Developers and Where to learn them : Answered
Data Structures and Algorithms Online Courses : Free and Paid
Need of Data Structures and Algorithms for Deep Learning and Machine Learning
Top 10 Algorithms and Data Structures for Competitive Programming
Learn Data Structures and Algorithms for your Dream Job with this online Course
Live Classes for Data Structures and Algorithms: Interview Preparation Focused Course
Why Data Structures and Algorithms Are Important to Learn?
Why companies like Amazon, Microsoft, Google focuses on Data Structures and Algorithms : Answered
How Coronavirus outbreak can end | Visualize using Data structures
How to Become a Data Analyst in 2019: A Complete Guide
How to Become a Data Scientist in 2019: A Complete Guide
How to Become a Chartered Data Scientist?
How to Become Data Scientist – A Complete Roadmap
What are Hash Functions and How to choose a good Hash Function?
Difference between Stack and Queue Data Structures
Difference between Linear and Non-linear Data Structures
Static and Dynamic data structures in Java with Examples
Coding good - Important criterias
How to write a good SRS for your Project
How to be a Good Programmer in College ?
Article Contributed By :
Vote for difficulty
Current difficulty : Easy
EasyNormalMediumHardExpert
Improved By :
Article Tags :
Practice Tags :
Improve Article
WHAT'S NEW
Competitive Programming Live Classes for Students
DSA Live Classes for Working Professionals
MOST POPULAR IN ALGORITHMS
- Playfair Cipher with Examples
- Perform the given queries on the rooted tree
- Cyclomatic Complexity
- Converting Roman Numerals to Decimal lying between 1 to 3999
- Complexity Analysis of Binary Search
MOST VISITED IN ARTICLES
- Must Do Coding Questions for Companies like Amazon, Microsoft, Adobe, ...
- Practice for cracking any coding interview
- SQL | Join (Inner, Left, Right and Full Joins)
- find command in Linux with examples
- Must Do Coding Questions Company-wise
Writing code in comment? Please use ide.geeksforgeeks.org, generate link and share the link here.
Load Comments
5th Floor, A-118,
Sector-136, Noida, Uttar Pradesh - 201305
@geeksforgeeks , Some rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy PolicyGot It !