![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LintCode
NikchyHahn
这个作者很懒,什么都没留下…
展开
-
Lintcode Add Two Numbers II
ExampleGiven 6->1->7 + 2->9->5. That is, 617 + 295.Return 9->1->2. That is, 912./** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int原创 2017-07-19 15:34:55 · 343 阅读 · 0 评论 -
LintCode 376 Binary Tree Path sum
LintCode 376 Binary Tree Path sum ExampleGiven a binary tree, and target = 5: 1 / \ 2 4 / \ 2 3return[ [1, 2, 2], [1, 4] ]/** * Definition of TreeNode: * class TreeNode { * public:原创 2017-07-19 15:38:29 · 406 阅读 · 0 评论 -
lintcode :expression expand using C++
Given an expression s includes numbers, letters and brackets. Number represents the number of repetitions inside the brackets(can be a string or another expression).Please expand expression to be a str原创 2017-07-28 10:17:43 · 484 阅读 · 0 评论