#How to learn java Datastructures?

29 messages · Page 1 of 1 (latest)

pastel pecan
#

Hi i'm new here currently trying to implement java.utilCollections of a SearchTreeMap but actually have no idea what iam doing. Can someone recommend some resources for java datastructer or projects to slowly build up decent knowledge to this topics? I also tried like leetcode but this confused me even more. Like i know how the theory sounds but when i try it out in Code im kind of lost 🙁

left oarBOT
#

<@&987246399047479336> please have a look, thanks.

zinc crest
#

can you make your own ArrayBasedList ?

#

thats a good starter one

#

or maybe IntArrayList

livid charm
#

u should definitely start slow, making the classic starter datastructures first

#

and understand them fully

#

ur own arraylist. linkedlist. ur own hashset, hashmap

#

maybe something a bit more exotic like a cuckoo-hashset

#

a binary tree

zinc crest
#

functional style linked lists have their own appeal too

livid charm
#

a classic binary search based on a binary tree

#

maybe dive into the graph world

#

bfs, dfs

#

if ur feeling fancy: dijkstra

#

and somewhere in between there, after u dipped ur toes into dsa stuff, u can try to implement javas collection interface

#

and attempt doing what u just asked about

#

either case, first do some of the other things. there are excellent explanations, tutorials, videos, animations, examples for those

#

so they are easy to learn, helpful and importamt to know

pastel pecan
#

I programmed my own queue and hastable and arraylist. So i thought that im ready now but even with Ai im mostly confused

#

i will try to take a step back i guess

#

i found a github roadmap to java datastructure maybe will start there

zinc crest
#

but even with Ai im mostly confused

#

because of AI

#

dont use it while learning at all

pastel pecan
#

aight o7

upper ivy
pastel pecan
#

ty i will but will do some js for the rest of the day to chiill out