随笔分类 -  vjudge

上一页 1 2 3 4 5 6

vjudge
LeetCode Permutations II
摘要:21312312 阅读全文

posted @ 2019-05-08 00:10 绿茵好莱坞 阅读(107) 评论(0) 推荐(0)

LeetCode Permutations
摘要:12321312 阅读全文

posted @ 2019-05-07 22:40 绿茵好莱坞 阅读(127) 评论(0) 推荐(0)

LeetCode Longest Substring Without Repeating Characters
摘要:131231 阅读全文

posted @ 2019-05-07 01:17 绿茵好莱坞 阅读(139) 评论(0) 推荐(0)

LeetCode Subarray Product Less Than K
摘要:2132131 阅读全文

posted @ 2019-05-07 01:03 绿茵好莱坞 阅读(120) 评论(0) 推荐(0)

LeetCode 4Sum
摘要:1232131 阅读全文

posted @ 2019-05-07 00:35 绿茵好莱坞 阅读(116) 评论(0) 推荐(0)

LeetCode Merge Two Sorted Lists
摘要:1232131 阅读全文

posted @ 2019-05-06 06:54 绿茵好莱坞 阅读(101) 评论(0) 推荐(0)

LeetCode Merge k Sorted Lists
摘要:1231231 阅读全文

posted @ 2019-05-06 06:36 绿茵好莱坞 阅读(85) 评论(0) 推荐(0)

LeetCode Kth Smallest Element in a BST
摘要:12321321 阅读全文

posted @ 2019-05-05 20:34 绿茵好莱坞 阅读(67) 评论(0) 推荐(0)

LeetCode First Missing Positive
摘要:13131 阅读全文

posted @ 2019-05-04 21:58 绿茵好莱坞 阅读(97) 评论(0) 推荐(0)

LeetCode Top K Frequent Elements
摘要:13131231 阅读全文

posted @ 2019-05-04 00:41 绿茵好莱坞 阅读(134) 评论(0) 推荐(0)

LeetCode Valid Anagrams
摘要:1231231 阅读全文

posted @ 2019-05-03 18:45 绿茵好莱坞 阅读(111) 评论(0) 推荐(0)

LeetCode Top K Frequent Words
摘要:1232131 阅读全文

posted @ 2019-05-03 10:23 绿茵好莱坞 阅读(131) 评论(0) 推荐(0)

LeetCode Median of Two Sorted Arrays
摘要:12312321 阅读全文

posted @ 2019-05-02 17:11 绿茵好莱坞 阅读(102) 评论(0) 推荐(0)

LeetCode Map Sum Pairs
摘要:1231231 阅读全文

posted @ 2019-04-29 11:45 绿茵好莱坞 阅读(112) 评论(0) 推荐(0)

LeetCode Smallest Range
摘要:数据范围是3500,3500也就是说n的平方是可以接受的。这里告诉你就是有序的,也就是在提醒你可能会是一个类似于二分的算法,所以的话其实基于这两个认识的话我们就可以利用一个枚举叫二分的算法来解决这道题。怎么做呢?就首先的话我们要枚举一端,一端的话我们可以把所有的这个lists的里面所有元素都给去重然 阅读全文

posted @ 2019-04-27 23:30 绿茵好莱坞 阅读(210) 评论(0) 推荐(0)

LeetCode Reverse Integer
摘要:递归主要有两个点,一个是它递归的过程是怎么样的,一个就是递归的边界。 阅读全文

posted @ 2019-04-27 22:13 绿茵好莱坞 阅读(193) 评论(0) 推荐(0)

LeetCode Add Two Numbers
摘要:一道链表题,然后链表题的话其实它就是让你做一个模拟加法。然后它题意就是说给你两个非空的链表,注意是非空的,然后呢它的那个这个数字的每一位呢传输到它对应的结点上面,然后让你输出一个链表,然后就是代表了这个两个数字相加的和。而且它告诉你的话这个两个数的话是没有潜导零的,这样我们就比较方便地去处理一些边界 阅读全文

posted @ 2019-04-27 04:15 绿茵好莱坞 阅读(240) 评论(0) 推荐(0)

CodeForces-4C Registration system
摘要:// Registration system.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // #include #include #include using namespace std; int main() { //int n,index=0,ds=1; int n; cin >> n; //string* s = n... 阅读全文

posted @ 2019-04-25 06:59 绿茵好莱坞 阅读(223) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6

导航