This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Programming Diversions and the fly likes algorithm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Other » Programming Diversions
Bookmark "algorithm" Watch "algorithm" New topic
Author

algorithm

Andrew Lit
Ranch Hand

Joined: Jul 01, 2002
Posts: 135
Hi,
i just wanted to ask an algorithm on this assignment,
to find the longest knight's move, that it wouldn't cross it's own path.
path is the shortest line between start of the one move and end of the one move.
thank you.
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

See, for example, http://www.google.com/search?q=knights+move+algorithm .


[Jess in Action][AskingGoodQuestions]
Jason Menard
Sheriff

Joined: Nov 09, 2000
Posts: 6450
I'm going to move this to Programming Diversions.
 
 
subject: algorithm