Category: Variables and Data Structures

Linked Lists and Hashmaps

Linked lists and hashmaps are different types of arrays that store elements differently. Hashmaps are sometimes called associated arrays. The way they store elements changes the way in which we access the elements in the arrays, and changes the performance of the program when accessing the data. Linked lists are…

Continue Reading Linked Lists and Hashmaps

Stacks and Queues

Stacks and queues are types of lists, although they managed adding and removing elements differently. Normal arrays allow you to add and remove elements at any index within the array. Stacks use First In, First Out (FIFO) and queues use a Last In, First Out (LIFO) method of processing data…

Continue Reading Stacks and Queues

What Are Arrays / Lists?

Arrays and lists are collections of variables stored inside one other variable. This allows us to store lists of related data together and access and modify them together. An array could consist of a list of names, locations, numbers, or a list of anything. A list is a data structure,…

Continue Reading What Are Arrays / Lists?

What are Variables and Data Structures?

Variables are a key element to programming, and every programmer must understand them and how to use them. Variables are a way of storing, retrieving and modifying data within a computer program. There are two overarching types of variables; primitives and data structures. A variable is used to store any…

Continue Reading What are Variables and Data Structures?