- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 TOSCA简介
目前提到物联网,就会联想到IoT,CDN,TOSCA,NFV等。这些中,TOSCA作为开放云的标准,被广泛使用。TOSCA的目标如下: 即TOSCA用来定义云应用之前的交互及体系,包括组件,组件间的关系/依赖,及其需求及容量。从而允许跨云平台的自动化管理以及迁移。TOSCA的几大标准是:1)快速准确的发布应用至云提供商。2)快速适应变化3)云供应商由用户自由选择。
2016-12-27 18:05:06 8172 1
原创 **[Lintcode]Permutation Index II排列序号II
Given a permutation which may contain repeated numbers, find its index in all the permutations of these numbers, which are ordered in lexicographical order. The index begins at 1.ExampleGiven
2016-12-07 22:37:24 856
原创 **[Lintcode]Ugly Number II 丑数 II
Ugly number is a number that only have factors 2, 3 and 5.Design an algorithm to find the nth ugly number. The first 10 ugly numbers are 1, 2, 3, 4, 5, 6, 8, 9, 10, 12...分析:(1) 1×2, 2×2,
2016-12-04 17:27:41 617
原创 *[Lintcode]Wiggle Sort摆动排序
Given an unsorted array nums, reorder it in-place such thatnums[0] = nums[2] ExampleGiven nums = [3, 5, 2, 1, 6, 4], one possible answer is [1, 6, 2, 5, 3, 4].分析:之前想的是可以先排序, 然后使用双指针,每一次从
2016-12-04 10:55:08 243
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人