[19] Results

Golang : Sieve of Eratosthenes algorithm

golang prime-number sieve eratosthenes algorithm

For this tutorial, we will learn about sieve of Eratosthenes algorithm. Sieve of Eratosthenes is an algorithm for generating all….... read more


Golang : How to determine a prime number?

golang prime-number big-int cryto-rand

In mathematics and computer security, it is very important to determine if a given number is a prime number or….... read more


Generate Random number with math/rand in Go

random-number

Random number is useful in many application. One such example is salting password to make in more secure. In this….... read more


Random number generation with crypto/rand in Go

random-number

Random number is useful in many applications. From salting password to enabling secure transactions.

In this tutorial, we will….... read more


Golang : How to convert a number to words

golang translate-number-to-words convert-number

I need to translate a given number into words such as 100 to one hundred. The code below is a….... read more


Golang : Calculate how many weeks left to go in a given year

golang isoweek weeks-left week-number

Here is a simple tutorial on how to calculate the number of weeks in a given year and figure out….... read more


Golang : Test if an input is an Armstrong number example

golang armstrong number cubic

An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is….... read more


Golang : Number guessing game with user input verification example

golang number-guessing integer input-verification

Helping a Golang student from Mexico. She is building a simple random number guessing game and she wants to know….... read more


Advertisement