摘要:
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu... 阅读全文
摘要:
远程链接MySQL,出现上面的错误,说明没有设置可远程链接,可按以下方式解决。1、更改数据库mysql中的user表中的host字段,有localhost改为‘%’ use mysql;update user host='%' where host='localhost'flush privileg... 阅读全文
摘要:
今天出现的问题:Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of in_array_two_di... 阅读全文
摘要:
Given this linked list:1->2->3->4->5Fork= 2, you should return:2->1->4->3->5Fork= 3, you should return:3->2->1->4->5思路:一开始是想要动态规划的方式,即写一个反转函数,每K个字符调用一... 阅读全文