Categories
Computer Science Data Structures

Heaps and Heap Sort

Imagine a queue that doesn’t operate based on who got there first. It rather operates based on the importance of a person in the queue.  For instance, think of a hypothetical passport control. A government official would take the highest priority, followed by a citizen, and then finally a foreigner. In essence, this isn’t a […]

Categories
Computer Science Data Structures

Queues

We’ve talked about stacks, so now let’s talk about queues. As a brief recap, a queue is just an order where the first item in an order is the first one to be taken care of.  And as you can probably imagine, they’re the opposite of stacks. Queue Implementation using Lists Let’s jump into a […]

Categories
Computer Science

Hello World

Sounds cliché, but as almost every developer learns a new programming language by printing out “Hello World” as output, I will also start this blog with the first post being a “Hello World” post. I am pretty excited about starting this blog as I have a lot of things to write about. I think I’ll […]