摘要: Given an arraySofnintegers, are there elementsa,b,c, anddinSsuch thata+b+c+d= target? Find all unique quadruplets in the array which gives the sum of ... 阅读全文
posted @ 2016-01-08 20:32 ZHOU YANG 阅读(196) 评论(0) 推荐(0)
摘要: Given an arraySofnintegers, are there elementsa,b,cinSsuch thata+b+c= 0? Find all unique triplets in the array which gives the sum of zero.Note:Elemen... 阅读全文
posted @ 2016-01-08 20:29 ZHOU YANG 阅读(255) 评论(0) 推荐(0)
摘要: Given an array of strings, group anagrams together.For example, given:["eat", "tea", "tan", "ate", "nat", "bat"],Return:[ ["ate", "eat","tea"], ["na... 阅读全文
posted @ 2016-01-08 19:47 ZHOU YANG 阅读(236) 评论(0) 推荐(0)
摘要: 事出有因,学校每天12:00之后断网,断网之后怎么办?难道直接睡了?我不甘心。 幸好学校还是留有余地,在断网之后,还是能够上ipv6的,只是现阶段互联网对ipv6支持很不理想,怎么办?刚刚发现,学校对ipv6的校外访问在12:00之后也会断开,不过幸好没有断开和实验室的连接,下述方法继续适用。1... 阅读全文
posted @ 2016-01-08 01:05 ZHOU YANG 阅读(16209) 评论(0) 推荐(0)