Skip to content

Latest commit

 

History

History

floyd

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Floyd's triangle

Please provide a function FloydTriangle that returns a Floyd's triangle matrix by given rows count.

Floyd's triangle

1
2 3
4 5 6
7 8 9 10

Run tests with benchmarks

go test -bench .