Programming the Stack

Similar Posts

  • Java Sets

    Java has two different types of sets, Unsorted and Sorted… even if Math Sets are technically unsorted. Unsorted Sets Unsorted sets in Java are not a class that can be defined. Therefore you need to use the HashSet and then use the polymorphic nature of the OOP to create the set. From here, you want…

  • Binary Trees

    A binary tree is often the easiest type of tree structure to build because it has at most two child nodes. We usually call these child nodes left and right. We add a top node, our first value. The first value is always at the top – and is a special case when creating the…

  • Double Linked List

    Now one issue that linked lists have is that while it’s really easy to move to the next element in your list, moving backwards to find the previous item is really challenging. You literally have to start back at the beginning and move through every element, until you reach the one before where you just…