摘要:
回文的题经常出现在算法题中,下面总结了leetcode出现的6个关于回文的题目。 1.Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring case 阅读全文
摘要:
Given a list, rotate the list to the right by kplaces, where k is non-negative. For example:Given1->2->3->4->5->NULLand k =2,return4->5->1->2->3->NULL 阅读全文