上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 109 下一页

2015年11月23日

[LeetCode]Additive Number

摘要: 题目链接:Additive Number题目内容:Additive number is a positive integer whose digits can form additive sequence.A valid additive sequence should conta... 阅读全文

posted @ 2015-11-23 14:34 张大大123 阅读(137) 评论(0) 推荐(0) 编辑

2015年11月21日

Asp.net 在刷新或提交页面后保持滚动条的位置

摘要: 网页内容在较长时,每次回传刷新页面或提交网页时都会定位到最顶端,非常不利于用户交互。 将Page.MaintainScrollPositionOnPostBack属性值设置为true即可实现刷新后保持上次的滚动位置,可配置web.config,也可以在 标记中设置属性Ma... 阅读全文

posted @ 2015-11-21 09:24 张大大123 阅读(414) 评论(0) 推荐(0) 编辑

2015年11月20日

[LeetCode]Range Sum Query - Mutable

摘要: 题目链接:Range Sum Query - Mutable题目内容:Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive.The u... 阅读全文

posted @ 2015-11-20 14:58 张大大123 阅读(118) 评论(0) 推荐(0) 编辑

2015年11月13日

[LeetCode]Linked List Cycle II

摘要: 题目链接:Linked List Cycle II题目内容:Given a linked list, return the node where the cycle begins. If there is no cycle, return null.Note: Do not mod... 阅读全文

posted @ 2015-11-13 14:24 张大大123 阅读(120) 评论(0) 推荐(0) 编辑

2015年11月11日

[LeetCode]Perfect Squares

摘要: 题目链接:Perfect Squares 题目内容: Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum ... 阅读全文

posted @ 2015-11-11 15:41 张大大123 阅读(154) 评论(0) 推荐(0) 编辑

2015年11月7日

[LeetCode]Populating Next Right Pointers in Each Node

摘要: 题目链接:Populating Next Right Pointers in Each Node 题目内容: Given a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *r... 阅读全文

posted @ 2015-11-07 13:32 张大大123 阅读(157) 评论(0) 推荐(0) 编辑

2015年11月6日

[LeetCode]Serialize and Deserialize Binary Tree

摘要: 题目链接:Serialize and Deserialize Binary Tree 题目内容: Serialization is the process of converting a data structure or object into a sequence of bits so ... 阅读全文

posted @ 2015-11-06 14:36 张大大123 阅读(132) 评论(0) 推荐(0) 编辑

2015年11月4日

[LeetCode]Binary Tree Zigzag Level Order Traversal

摘要: 题目链接:Binary Tree Zigzag Level Order Traversal 题目内容: Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from l... 阅读全文

posted @ 2015-11-04 15:12 张大大123 阅读(106) 评论(0) 推荐(0) 编辑

2015年11月3日

[LeetCode]Longest Increasing Subsequence

摘要: 题目链接:https://leetcode.com/problems/longest-increasing-subsequence/题目内容:Given an unsorted array of integers, find the length of longest increa... 阅读全文

posted @ 2015-11-03 17:22 张大大123 阅读(114) 评论(0) 推荐(0) 编辑

使用std::vector优化点云动画显示一例

摘要: 1. 准备使用std::vector应该知道几点:(1)内存连续的容器,有点像数组(2)与std::list相比,插入和删除元素比较慢- 因为数据迁移(3)添加元素可能会引发内存分配和数据迁移。2. 问题AnyCAD::API::PointCloudNode使用FloatList 及std::v... 阅读全文

posted @ 2015-11-03 16:37 张大大123 阅读(237) 评论(0) 推荐(0) 编辑

上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 109 下一页

导航