Data Structure(7) - Stack
What is Stack? As oppsed to Queue, which is a First-In-First-Out(FIFO) structure, Stack is Last-In-First-Out(LIFO) structure. Let’s think about brackets. If we open 2 brackets like {(. { this cur...
What is Stack? As oppsed to Queue, which is a First-In-First-Out(FIFO) structure, Stack is Last-In-First-Out(LIFO) structure. Let’s think about brackets. If we open 2 brackets like {(. { this cur...
What is Queue? Queue is based on First-In-First-Out(FIFO). Let’s imagine we are a worker who works at a box office and there is a line for buying tickets. In this moment, we need to sell tickets ...
What is HashTable? I already talked about what the Hash is in the previous post. To understand table, I can draw a table. Key Value 1 One ...
What is HashSet? To know about HashSet, we need to understand what the Hash and Set are. Hash Hash is a way to save and search data quickly using hash function. When users input some data, ...
What is the Linked List? Linked List is also a kind of Dynamic Array but it doesn’t use index. The object type in the linked list is LinkedListNode. Node has referecnes about next node and previo...
What is Dynamic Array? We already studied about the array in my previous post. We only can use array when we already know the size of the array or we don’t have to add more elements into array. B...
While preparing coding test, I realized I didn’t learn about data structure in school. So, this post and the following posts are to study about data structure including I already learn in school. ...
Hello, my name is Boa and welcome to my blog! This blog is to upload posts about my projects, and the process of my study. I recently completed my diploma in Computer Programming and Analysis fro...