java solution to Partition List
java solution to Reverse Nodes in k-Group