#Tutorial
121 articles
How to Implement Stack in Golang
What is a stack?
Stack is one that is commonly used in programming or computer storage systems. For ‘programmers’ or those usually involved in the IT world, you must be familiar with this term. Stacks are used to make it easier to organize data. So what exactly is Stack? What are the advantages and disadvantages of using it? OK, Santekno will explain to you in more detail and Santekno will provide a very easy sample
for implementing the stack.
How to implement a single double linked list in Golang
Basic Definition
If you’ve read and read about the Linked List, you can first read Santekno’s post Single Linked List and Double Linked List
Getting to Know Pointers in Golang
We know that sending a variable to a function can be a parameter or a pointer. This pointer is usually a data allocation with a certain address. An example can be seen in the program below.
Getting to Know Structs and Interfaces in Golang
Although it is possible for us to write programs using only Go’s built-in data types, at some point it will become very tedious. Consider a program that interacts with a form like the code below.
Getting to know Data Types in Golang
##Numbers
Integers
There are integer types that we can use, including uint8
, uint16
, uint32
, uint64
, int8
, int16
, int32
and int64
. The following is an example of using integer type variables in the go program:
VSCode Extension Often Used in Golang
Visual Studio Code is currently a hit loved by programmers because it is said to be easier to use and lighter when run on a computer. Apart from being easy, what programmers usually call vscode
, there are also many supports or extensions that can support programmers’ needs to make it easier to do their work. We often use additional extensions/plugins to help make things easier for programmers when they are busy coding. So, below, Santekno has several recommendations for extensions that you can use to make your work easier and help you do coding more coolly.
How to Setup Development Go in Visual Studio Code
Since becoming acquainted with Open Source Visual Studio Code, since then Santekno has been working on a project or in other words ‘coding’ using the Visual Studio Code (VSCode) IDE. Besides being light when used, there are also many additional features (plugins) that can support us in coding.
How to Install Golang on Windows, Macbook and Linux Computers
First download the Golang library on the [Golang] website (https://golang.org/doc/install).
How to Create a Stack Using the Standard Template Library
Stack is a data structure that provides data like a stack in a glass, so if data is put into a glass the first one will be the last to be taken, then this data structure adheres to the LIFO (Last In First Out) rule. )
. The meaning of LIFO is that the last person in will be the first to leave.
How to Create a Stack using Double Linked List
Stack is a data structure that provides data like a stack in a glass, so if data is put into a glass the first one will be the last to be taken, then this data structure adheres to the LIFO (Last In First Out) rule. )
. The meaning of LIFO is that the last person in will be the first to leave.
How to Create a Stack using C++ Arrays
Stack is a data structure that provides data like a stack in a glass, so if data is put into a glass the first one will be the last to be taken, then this data structure adheres to the LIFO (Last In First Out) rule. )
. The meaning of LIFO is that the last person in will be the first to leave.
How to Create a Double Linked List using C++
Double Linked List is a linked list that uses just a pointer variable to store a lot of data using the linked list method, a list of contents that are interconnected.