java solution to Rotate List

1st version
java solution to Rotate List

2nd version
java solution to Flatten Binary Tree To LinkedList
java solution to Jump Game
java solution to Restore IP Addresses

1st version
java solution to Restore IP Addresses

2nd version, add isValid function to make the code more readable