Key Points to keep in mind to master DSA

1. Spaced Repetition:

A most common question anyone faces is: “I solved a number of questions but still cannot solve them after 7 – 10 days. How can I remember them?“. 

The first and foremost answer to this is Not to try to remember the codes. The solution lies in practice and spaced repetition.

Spaced repetition is a method to fully learn something by recalling and reviewing the concepts in particular time intervals until you learn the concepts completely.

As seen the best time intervals will be to solve the problem again in a couple of days, then in 7-10 days and then in a month. It will help you to develop the habit of revising any topic at a proper time interval.It is always noticed that if you are revising concepts on spaced repetition so that’s make your concepts more and more well built and clear.

2. Practice more and more:

By now you are equipped with basic data structures and algorithms. Now the most important thing is your speed and efficiency i.e. how quickly you can find out the optimal solution and minimize the error in your approach. 

As with any other work, the only way for this is also to “practice, practice and practice”. You can practice them in several online platforms for practicing problems. Also, you can participate in real-time challenges held time-to-time. 

Some of the coding challenges that can help you achieve this are:

3. Solve a variety of problems:

Now it is time to increase the size of your arsenal. As you have mastered a handful of data structures and algorithms, let’s venture out to solve problems of varying difficulty and topics. 

It will help you in two ways. 

  • As the problems are not bound by categories, it will increase the pool of your data structures and algorithms through exposure to unknown algorithms. This time you will not require to code all the problems as you have already solved and programmed so many other problems. 
  • This will also boost your thinking capacity and you will come to know about the applications of different algorithms.

You can also refer to below links to practice problems in its respective difficulties:

You can also try from our curated lists of problems from below articles:

4. Participate in Coding Challenges:

A good amount of time is dedicated by now and you have also learned a lot. But have you reached your goal of mastering DSA – the reason behind your learning data structures and algorithms?

The only way to get the answer is by checking yourself out against other enthusiasts and original masters of DSA. There is hardly any other solution to this that is better than participating in some competitive coding challenges to gauge your ability. It will increase your coding speed and widen your view of how a problem can have so many varieties of approaches and also it helps you to be familiar with the interview environment because in interview you have time bound so by giving contests repeatedly to your on the path of boost your problem solving skills.

Also upsolving the contest is very much essential help building your concepts more robust. So must remember  always solve the problems that you don’t able to solve in the contest.

5. Try solving Interview questions:

Though you have done almost everything, there is always room for improvement. Let us assume you are a consistent performer in real-time coding challenges and showing great results in that. Still, it is possible that you are not always finding out the most optimal solution to a problem, because competitive coding does not always require the most efficient approach.

There solving interview questions can prove handy. It is a natural practice in interviews to seek the most optimal approach. Now, by exposing yourself to interview questions you will become efficient day by day and also get prepared for interviews.

You can also try to solve the most asked interview questions based on the list curated by us at: 

How to Start Learning DSA?

In the journey of programming, every programmer comes across a point where they want to solve a problem in a more efficient way. While finding a way out of this, they eventually come to know about the term DSA. Now before jumping on how to start learning DSA, let us first know what the term DSA actually means.

Table of Contents

  • DSA Full Form
  • What is Data Structure?
  • What is Algorithm?
  • Why should you learn Data Structure and Algorithm?
  • 5 Steps to start learning DSA
    • Getting to Know the Topics
      • 1) Data Structure
      • 2) Algorithms
    • Finding the best resources for learning DSA
    • Learn the fundamentals of DSA properly
    • Master Data Structures and Algorithms one by one
    • Consistency is the key
  • Key Points to keep in mind to Master DSA
    • Spaced Repetition
    • Practice more and more
    • Solve a variety of problems
    • Participate in coding challenges
    • Try solving interview questions
  • How long does it take to learn Data Structures and Algorithms?
  • How to be good at Data Structure and Algorithms?
  • What are the best resources?
  • What are the best platforms?
  • Conclusion

   

DSA Full Form: The Full form of DSA is Data Structures and Algorithms. As the name itself suggests, it is a combination of two separate yet interrelated topics – Data Structure and Algorithms.

In this journey to acquire a good grasp of DSA and become efficient in it, every programmer faces a big challenge “How to start learning DSA?”. In this article, we will be focusing on everything about DSA and how to begin your journey of DSA from scratch.

Similar Reads

What is Data Structure?

A data structure is a particular way of storing and organizing data in our devices to use the data efficiently and effectively. The main idea behind using data structures is to minimize the time and space complexities. An efficient data structure takes minimum memory space and requires minimum time to execute the data....

What is Algorithm?

Algorithm means a process or set of well-defined instructions that are typically used to solve a particular group of problems or perform a specific type of calculation. To explain in simpler terms, it is a set of operations performed in a step-by-step manner to execute a task....

Why Should you learn Data Structure and Algorithm?

Before moving to the question of “How to start learning”, first, let us look at why should we learn data structures and algorithms....

5 Steps to start learning DSA

Let us now move to the most important question “How to start learning DSA?“...

Key Points to keep in mind to master DSA

1. Spaced Repetition:...

How long does it take to learn Data Structure and Algorithms?

Let us first clarify a thing that learning is a never-ending process. You can learn new things even after programming for years. But a viable question is “How long will it take to learn the basics of DSA”. Though the answer to the question varies from person to person and their time and dedication, an average approximation can be provided for this question. It is fair to say that one can master the basics within 10-12 weeks if one dedicates 3-4 hours a day. Again this varies from person to person. One may master it in 1 month and for some, it may take 5-6 months or more than that. This approximation is based on the time offered for courses like the ones run by Swayam (a Government of India initiative), GeeksForGeeks and others....

How to be good at Data Structure and Algorithms?

Since you have learned how to start learning DSA, the next goal is obviously to be good at DSA. Let us first clarify one thing. There is no easy way to be good at programming. But there is an efficient way to do so.  That depends on factors like:...

What are the best resources?

As mentioned earlier, now we will discuss about the best possible resources. We at GeeksForGeeks have a vast collection of tutorials and problems related to DSA covering all types of topics from basic to the most advanced ones. Anyone willing to learn about a topic can anytime find the topics in the Archive section of GeeksForGeeks. There are also several past, running and upcoming courses available in the GeeksForGeeks Courses....

What are the best platforms?

Now we have learned about resources. But there is one more crucial step – practicing the problem. We need some platform to practice and implement our knowledge. GeeksForGeeks has the perfect solution for that. We have built the GeeksForGeeks Practice Portal exclusively for that reason. There are numerous problems available in the practice section. Moreover, you have the facility to filter the problems based on the type of data structure or algorithm, or even difficulty....

Conclusion

From the above discussion, we can conclude that though the process of learning data structures and algorithms is a bit lengthy and tough,it requires consistent hard work and practice if you follow the right path, be methodical with your approach of collecting resources and revisions and practice problems you will surely be able to learn DSA if an efficient way....