File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Other » Programming Diversions
Bookmark "algorithm" Watch "algorithm" New topic


Andrew Lit
Ranch Hand

Joined: Jul 01, 2002
Posts: 135
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

Joined: Jul 08, 2003
Posts: 24166

See, for example, .

[Jess in Action][AskingGoodQuestions]
Jason Menard

Joined: Nov 09, 2000
Posts: 6450
I'm going to move this to Programming Diversions.
I agree. Here's the link:
subject: algorithm
Similar Threads
need help for critical path analysis in java
looping in java
WA #1.....word association
Finding the shortest path on a grid
The Knight's Tour