/** * struct ListNode { * int val; * struct ListNode *next; * }; */ class Solution { public: /** * * @param head ListNode类 * @param k int整型 * @return ListNode类 */ ListNode* rotateRight(ListNode* head, int k) { if(head==NULL||k==0||head->next==NULL) { return head; } int length=0; ListNode *po=head...