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 🙁
#How to learn java Datastructures?
29 messages · Page 1 of 1 (latest)
<@&987246399047479336> please have a look, thanks.
lets ignore the built in collections for a moment
can you make your own ArrayBasedList ?
thats a good starter one
or maybe IntArrayList
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
functional style linked lists have their own appeal too
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
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
GitHub
A structured, day-by-day roadmap to master Data Structures and Algorithms using Java. Perfect for beginners preparing for coding interviews, competitive programming, or improving problem-solving sk...
but even with Ai im mostly confused
because of AI
dont use it while learning at all
aight o7
feel free to ask about what you don't understand
ty i will but will do some js for the rest of the day to chiill out