Tom's Blog · Abelo
The first 500 Fibonacci numbers
In my previous post High-performance Fibonacci numbers implementation in Go I showed how to implement very efficient Fibonacci number generator in Go. In this post I am going to share some facts and numbers of Fibonacci sequence.
High-performance Fibonacci numbers implementation in Go
In this post, I would like to share how to implement a high-performance Fibonacci numbers generator in Go. I decided to write this post after I found the following interview question: Interview question Write a program that calculates a given Fibonacci number. Demonstrate the ability to optimise your solution. What approach would you take in order to be albe to calculate any Fibonacci number?
GIF image creation in Go tutorial
I would like to share with you a straightforward and elegant way of creating GIF images in Go programming language. Many developers are afraid of images creation or manipulation. However, as you will see, generation of GIF images using out-of-the-box Go libraries is just fun.
Sorting techniques in Go
In this post I am sharing a few interesting sorting techniques in Go. Sorting is one of the most common operations in many programs. Many programming languages provide support to the sorting problem. Go is not an exception in this field. The out-of-the-box sort package provides a mechanism to perform in-place sorting of any collection implementing sort.Interface.
Implementation of the clock angle problem in Go
In the Explanation of an interview question related to the clock angle problem post I shared explanation and detailed solution to the clock angle problem. I provided Java implementation over. In this post, I am sharing the similar solution in Go. I am not going to present the problem and the approach to the solution as it is common to any programming language. I would recommend you read through the post as mentioned earlier for better understanding.
Interview question related to the clock angle problem in Java
Some time ago I ran into the following interview question: Write a program that for a given hour and minutes values calculates an angle in degrees between the hour and the minute hands. Return information whether the minute hand overlaps the hour hand. As an additional subtask, write a method for calculating all times when the minute hand overlaps the hour hand.