• Post Reply Bookmark Topic Watch Topic
  • New Topic

data structures  RSS feed

 
nelle martina
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm so sorry if this is in the wrong area!!!

Now I don't necessarily need the exact answer, but where I could possibly find help in getting an answer or understanding correctly. I kinda need or want to know how to use data structures to model/build complex sets of data.. basically in the beginners dumbest terms ever...

please don't judge! It's taking awhile to get my head around it and I overthink everything!

Thanks heaps
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16059
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

Your question is very general, so it's hard to give a specific and clear answer.

A place to start would be to learn about the standard Java collection classes (lists, maps and sets). Have a look at the Collections Trail in Oracle's Java Tutorials.
 
Knute Snortum
Sheriff
Posts: 4276
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've found that when I need something like a data structure that doesn't fit into the List/Map/array mold, I use a class.  However, you can build Lists of Lists or Maps of Maps, etc., easily.

Of course you can mix and match List, Map, and your own custom classes all you want.
 
Junilu Lacar
Sheriff
Posts: 11477
180
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
nelle martina wrote:Now I don't necessarily need the exact answer, but where I could possibly find help in getting an answer or understanding correctly. I kinda need or want to know how to use data structures to model/build complex sets of data.. basically in the beginners dumbest terms ever...

As Jesper said, this is a very general question. I would even go further and guess this is probably based on a homework question that goes something like, "How do you use data structures to model/build complex sets of data?"

If I'm right about this being homework and the question being posed that way, I suggest you go back over your course notes, book(s), and/or lectures and look there for the answer your instructor is expecting you to give. Even if we give you reasonable answers here, there's a good chance they are not what your instructor expects, especially if they don't align with anything that was given in the course notes, books, and/or lectures. You might even fall under suspicion of trying to cheat if you get ideas for answers here that are perfectly reasonable but don't match what was taught to you in class.
 
nelle martina
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks so much. It is vague; which is why I'm having problems with the question. I have gone over notes and nothing says anything about any of the questions we are asked. (kind of like ALL the assessment pieces in this module.)

I'll keep researching, thank you
 
Junilu Lacar
Sheriff
Posts: 11477
180
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Often times, the answer doesn't just jump right out at you from your notes. The explicit things that are in your notes/books/lectures might simply suggest what the answer to the question is and you have to put two and two together, using critical thinking, to deduce or infer the answer your professor is expecting.

Can you at least tell us some of the main points you've learned so far about data structures and how they related to data? With that, maybe we can get a better idea of what you have gone over in class and in that way, see how we can help you find the answer you're expected to give.
 
nelle martina
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It basically gives a list of data structures (5) and then on this project it tells us we need to research it and the example is Dijkstra's algorithm. So.. how you can use an advanced data structure to model dijkstra's algorithm.. For a beginner, it's confusing, but i'm sure as hell not giving up, yet! haha

So, I'll just keep researching, but thank you for answering me! I really appreciate it.
 
Campbell Ritchie
Marshal
Posts: 56536
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suggest you start by reading about those five data structures; Wikipedia might be good. You can download Wirth's algorithms book free of charge and that might help. There are lots of University department websites with such information on. The same technique will probably give you details of Dijkstra's algorithm; I have forgotten what it is. Once you have found the details of the data structures, draw diagrams representing their structure; I think that will help you envisage and understand them.
 
nelle martina
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks so much! I will do just that!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!