Chapters

Hide chapters

Data Structures & Algorithms in Dart

First Edition · Flutter · Dart 2.15 · VS Code 1.63

Section VI: Challenge Solutions

Section 6: 20 chapters
Show chapters Hide chapters

24. Conclusion
Written by Jonathan Sande

Heads up... You're reading this book for free, with parts of this chapter shown beyond this point as scrambled text.

Congratulations! You’ve made it to the end of the book. You have a solid foundation now in data structures and algorithms. Even so, there’s still a lot more to learn. Don’t let that scare you, though. Each new data structure and algorithm will be its own adventure.

Approaching a Difficult Problem

At times, you may not even know what data structure or algorithm you should use to solve a particular problem. Here are a few ideas to help with that:

  • Draw a diagram to model the issue.
  • Talk through the problem with another developer.
  • Just get started by writing some code that “works”, even if it’s horribly slow and inefficient.
  • Analyze what the time and space complexity are of your current implementation. How could they be improved?
  • Step through your current implementation line by line in a debugger. This often shows you useless tasks that your algorithm is performing.
  • Keep reading and watching videos about data structures and algorithms that you’re unfamiliar with. The more you know, the more naturally a solution will pop into your head when you come up against a hard problem.

Learning Tips

Whenever you hear about a new data structure or algorithm that you’d like to learn, here are some steps you can take to maximize your learning experience:

Where to Go From Here?

Don’t know what to study next? Here are some suggestions:

Have a technical question? Want to report a bug? You can ask questions and report bugs to the book authors in our official book forum here.
© 2024 Kodeco Inc.

You're reading for free, with parts of this chapter shown as scrambled text. Unlock this book, and our entire catalogue of books and videos, with a Kodeco Personal Plan.

Unlock now