Algorithms implementation with Java, Go and C