Description
The Borg is an immensely powerful race of enhanced humanoids from the delta quadrant of the galaxy. The Borg collective is the term used to describe the group consciousness of the Borg ci...
分类:
其他好文 时间:
2015-08-19 23:46:09
阅读次数:
185
Merge k Sorted Lists
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.分析
The basic idea is really simple. We can merge first two lists and then push i...
分类:
其他好文 时间:
2015-08-19 13:32:20
阅读次数:
98
Mergeksorted linked lists and return it as one sorted list. Analyze and describe its complexity.思路I: 选择排序每次都比较各个list的头指针所指的val,取最小的那个。时间复杂度O(n2)Result...
分类:
其他好文 时间:
2015-08-11 20:47:38
阅读次数:
121
输入命令hbaseshell进入查看存在的所有表: list查看表结构: describe'表名'查询表中的内容: scan'TABLENAME'-----例如有张student表要查看它scan'student'添加、更新数据:put put '表名','ROW','column','va...
分类:
系统相关 时间:
2015-08-07 15:57:37
阅读次数:
167
在做Oc的一个OOP的画多种图形例子的时候。Xcode无端报Must explicitly describe intended ownership of an object array parameter”异常信息,检查了几遍代码还是编译器报错,找了很久才知道原因,现在将这个错误分享出来给大家。
报错的关键代码:
错误的翻译:必须显式地描述目标对象的所有权。个人理解大概就是...
分类:
其他好文 时间:
2015-08-03 16:58:11
阅读次数:
149
1.使用hbase shell操作1.1 执行命令bin/hbase shell进入到命令行1.2 输入help查看各种命令组。命令是分组的,可以执行help 'general'显示各组中的命令1.3 常用的命令 list 显示有哪些表 describe 显示表的ddl信息 create 'tabl...
分类:
其他好文 时间:
2015-07-30 22:43:38
阅读次数:
182
MySQL 数据库常用命令1、MySQL常用命令create database name; 创建数据库use databasename; 选择数据库drop database name 直接删除数据库,不提醒show tables; 显示表describe tablename; 表的详细描述sele...
分类:
数据库 时间:
2015-07-30 20:55:03
阅读次数:
197
1,创建表:create 't1','f1','f2','f3' #-------t1是表名,f1,f2,f3是列族名2,查看所有的表:list3,查看表的结构:describe 't1'4,增加一个列族:disable 't1' alter 't1', NA...
分类:
系统相关 时间:
2015-07-30 11:10:11
阅读次数:
192
3.1 Describe how you could use a single array to implement three stacks.这道题让我们用一个数组来实现三个栈,书上给了两种方法,第一种方法是定长分割 Fixed Division,就是每个栈的长度相同,用一个公用的一位数组buff...
分类:
编程语言 时间:
2015-07-25 13:47:15
阅读次数:
107
【023-Merge k Sorted Lists(合并k个排好的的单链表)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题 Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.
题目大意 合并k个排好的的单链表。分析和描述它...
分类:
编程语言 时间:
2015-07-23 08:15:33
阅读次数:
181