Chess Puzzle

Sort:
nengnengvilla

well, umm.. i have a problem with my thesis.. it's a chess puzzle: three move mate..i used comparison sort algorithm to compare user's input move to computer's expected move from user. I have two datastores which is DataStore for expected move and its predefined sol'n & DataStore for Alternate solution. I don't know how to put these on java especially the datastore where i can just compare the user's move to computer's expected move.. what shall i do?