Thursday, October 29, 2015

Data Structures - Linked Lists Part 2 (and Queues)

This is a second part to my first post about Arrays and Linked lists. Here I have (finally) implemented and tested two separate queues. Notice that you probably wouldn't need a queue structure if you are utilizing only one queue. The queue structure is so that I can use several different queues. Lots and lots of comments to guide you through: #include...

Monday, October 12, 2015

Data Structures - Arrays and Linked Lists

An array is a random access data structure, while a linked list is a sequential access data structure. So, what's the difference between random and sequential?Well, random means you can access something directly, and sequential means in order to access something, you have to go one by one. See this:Arrays:Linked lists:orThe differences between the...

Wednesday, October 7, 2015

Java 101 - 02 Comments, Objects, and Classes

Summary of last post(link here): We looked over the basic introduction of Java and some start on the syntax and specifics how Java should work. Here's the code that we ended up with to refresh your mind://This is the Myclass class namingclass MyClass{ //This is the main method we always need public static void main(String []args){ } //This...