No description or website provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Knights on a Keypad

Build Status Coverage Status

Fun exercise posted by a cool colleague at work as an interview question.


$ go run main.go --startposition=1 --length=6 
Using knight moves and a keypad
1 2 3
4 5 6
7 8 9
Number: 1 as start position and a phone number of length: 6
The number of possible phone numbers are: 52