High Level OverviewAt a coarse level, AS 7 consists of two main elements:A core manageable service container based on modular classloadingExtensions t...
分类:
其他好文 时间:
2014-08-07 18:25:10
阅读次数:
262
??
Problem Description
Astronomers often examine star maps where stars are represented by points on a plane and each star has Cartesian coordinates. Let the level of a star be an amount of the stars...
分类:
其他好文 时间:
2014-08-07 13:17:10
阅读次数:
247
1st round: 一个白人,先是聊了下project,然后一道coding题,找到距离一个节点k的所有节点。这个直接node bfs就可以解决。这一轮很基础。node bfs 加 count 计算level就行. facebook电面原题2nd round: 一个印度小伙,上来就是题,没有beh...
分类:
其他好文 时间:
2014-08-07 05:11:38
阅读次数:
302
觉着没事,应该学点东西。找到以前看过的python,试着做了个读取文件的程序。不管效果怎么,总算成功了。#!/usr/bin/python # -*- coding:utf8 -*- import os allFileNum = 0 def printPath(level, path):...
分类:
编程语言 时间:
2014-08-07 03:00:58
阅读次数:
179
Intel® Advanced Vector Extensions (Intel® AVX) is a set of instructions for doing Single Instruction Multiple Data (SIMD) operations on Intel® architecture CPUs. These instructions extend previous SIM...
分类:
其他好文 时间:
2014-08-07 00:51:07
阅读次数:
995
当为SP开发应用程序时,记住你有一些不同的方式生成并部署一个SP应用程序或解决方案。下面是一个短列表,列出选项的类型--既有历史的也有现在的:
Farm-level 解决方案
沙盒解决方案
SP-hosted app
Cloud-hosted app...
分类:
其他好文 时间:
2014-08-06 23:00:52
阅读次数:
208
问题:输出二叉树的每一行的结点,从叶子到根/** * Definition for binary tree * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(i...
分类:
其他好文 时间:
2014-08-06 22:04:02
阅读次数:
185
问题:从上到下打印二叉树的每一行分析:先搜出二叉树的高度,然后遍历高度,每次搜索一个高度class Solution {public: int dfs(TreeNode *root) { if(root==NULL) return 0; if(root->le...
分类:
其他好文 时间:
2014-08-06 21:53:32
阅读次数:
278
曾经阅读过苹果公司官方文档“Advanced Memory Management Programming Guide”,对于为什么不能在init和dealloc方法中使用accessor方法一事,一直不明白。自己平时的工作实践中,貌似也没发现过有啥问题。直到今...
分类:
数据库 时间:
2014-08-06 19:34:52
阅读次数:
239
因为高级搜索包含对象的所有字段,默认没有做限制。有时候不希望暴露太多字段给用户,所以可以使用如下方法,使高级搜索与普通搜索的字段范围相同。
By default, the advanced search function can search by all of the object's fields. But sometimes, we don't want the user to know...
分类:
其他好文 时间:
2014-08-06 19:04:11
阅读次数:
215