11 2019 档案

摘要:Your friend is typing his name into a keyboard. Sometimes, when typing a character c, the key might get long pressed, and the character will be typed 阅读全文
posted @ 2019-11-23 06:38 Grandyang 阅读(1701) 评论(2) 推荐(1) 编辑
摘要:In a network of nodes, each node is directly connected to another node if and only if . Some nodes are initially infected by malware. Whenever two nod 阅读全文
posted @ 2019-11-11 22:05 Grandyang 阅读(2262) 评论(0) 推荐(0) 编辑
摘要:Given an integer array , and an integer , return the number of tuples such that `i 这道题是之前那道 "3Sum" 的拓展,之前那道题是说没有重复数字,而这道题却有大量的重复数字,所以每个组合可能会大量重复出现,让我们 阅读全文
posted @ 2019-11-08 09:27 Grandyang 阅读(2781) 评论(0) 推荐(0) 编辑
摘要:Given an array of non negative integers, half of the integers in A are odd, and half of the integers are even. Sort the array so that whenever is odd, 阅读全文
posted @ 2019-11-05 02:02 Grandyang 阅读(1551) 评论(0) 推荐(1) 编辑

Fork me on GitHub