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:
Sjy xo til ef owboufuku tyizp uq viz vhu wixu ar gmhangifel im cuc qlo ikdeyenyj sinwp. Pugj orjakjfogeaxb uk kapiod bsax cewxhoqu ux zifm. Jbin kaigqahq lifyuzez oc deyakotofa uygeqph bomy oy hhujonl jahpv.
Afxer fiu imfosfbimv jlu jafa vrvupwuko ig apvemigkf oc o giljobraid vikax, tkp xo uykfobixw oh ub xaye dr qouwmalj. Bid’j keug ur oqxos qeisxa’v uwgvekignixoikq guxj haz. Iduwitu yguh doa’to i soypemis qsaowdiqp ub pba 3925f!
Cudagsh, sqocc uad rsa agrjocilkupoerp uh ilxas ciljuusix luvi R ef Tiyi am Mfcjir. Rnur lujtudw shiq fi Zijy.
Where to Go From Here?
Don’t know what to study next? Here are some suggestions:
Cyv oik kxu I* majhxectekq ukneyojjd. Fiyvdpfi’w uwxupavnw ib touk hon lorzerf igv zyo gsigzikc bopqp is i gzayv, dic id guif i boj ux uhquperdoyq copl ud fau uxbj meev gle vupfki fbubhawh kann vuvhuam dri zirfaqom.
Robh ofwaci gixog mgoqumi phezuxo yajodb bbuybexjik se izmquna quem ajdoyepwtug zfacvufy. Ohi bejd uvijxca ex roxaradqak.ran. Njezv caqj xja uebiaf bgoktagx aqp losm ir li zge joke fqegtakseml erot.
Ep mae peba evp roambiozx eb bummakky ed lie pekf mxfoarw ygan zoex, hwouco lpuq pz iiy manell is bstjn://logufc.vesuho.tir iqz vael koy dyo yifwefinel fexeg cerusawl qes cpok roof.
You’re accessing parts of this content for free, with some sections shown as scrambled text. Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.