2019年2月25日

摘要: 根据目录/etc/mysql打开文件debain.cnf 此时文本里的内容为 # Automatically generated for Debian scripts. DO NOT TOUCH![client]host = localhostuser = debian-sys-maintpassw 阅读全文
posted @ 2019-02-25 19:48 coder_lin 阅读(555) 评论(0) 推荐(0) 编辑

2019年1月24日

摘要: /** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode(int x) { val = x; } * } */class Solution { p 阅读全文
posted @ 2019-01-24 12:01 coder_lin 阅读(95) 评论(0) 推荐(0) 编辑

2018年12月12日

摘要: 大神版:使用哈希表,算法复杂度o(n); 空间复杂度O(n); class Solution { public int[] twoSum(int[] nums, int target) { if(nums == null) return null; int[] retval = new int[2] 阅读全文
posted @ 2018-12-12 14:53 coder_lin 阅读(78) 评论(0) 推荐(0) 编辑