The Employee table holds all employees. Every employee has an Id, a salary,
and there is also a column for the department Id.
+----+-------+--------+--------------+
| Id | Name | Salary | Departme...
分类:
其他好文 时间:
2015-04-12 16:18:06
阅读次数:
125
The Employee table holds all employees including their managers. Every employee
has an Id, and there is also a column for the manager Id.
+----+-------+--------+-----------+
| Id | Name | Salary |...
分类:
其他好文 时间:
2015-04-12 14:49:10
阅读次数:
118
Given a positive integer, return its corresponding column title as appear in an Excel sheet.
For example:
1 -> A
2 -> B
3 -> C
...
26 -> Z
27 -> AA
28 -> AB
思路:进制之间...
分类:
其他好文 时间:
2015-04-12 12:07:16
阅读次数:
101
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.
click to show follow up.
Follow up:
Did you use extra space?
A straight forward solution using O(m...
分类:
其他好文 时间:
2015-04-12 10:40:06
阅读次数:
107
Given a column title as appear in an Excel sheet, return its corresponding column number.
For example:
A -> 1
B -> 2
C -> 3
...
Z -> 26
AA -> 27
AB -> 28
Credits:
思路:相...
分类:
其他好文 时间:
2015-04-12 10:40:00
阅读次数:
104
Excel Sheet Column Title
Given a positive integer, return its corresponding column title as appear in an Excel sheet.
For example:
1 -> A
2 -> B
3 -> C
...
26 -> Z
2...
分类:
其他好文 时间:
2015-04-12 00:05:29
阅读次数:
169
Excel Sheet Column Number
Related to question Excel Sheet Column Title
Given a column title as appear in an Excel sheet, return its corresponding column number.
For example:
A -> 1...
分类:
其他好文 时间:
2015-04-11 22:38:26
阅读次数:
139
alter table语句
用于在已有的表中添加、修改或删除列
原始表:
一、alter在表中添加新的列
语法:alter table table_name add column_name datatype
注意:sqlite3中alter不支持删除列的操作
注意:sqlite3中alter 不能更改一个已经存在的字段的名称、数据类型...
分类:
数据库 时间:
2015-04-11 17:57:52
阅读次数:
231
Given a m x n matrix,
if an element is 0, set its entire row and column to 0. Do it in place.
题目没有什么难度,但是可以在空间复杂度上做一些处理:
开始写的算法比较简单,将行和列中为0的部分记录下来,然后再经过一个赋值操作:
class Solution {
public:
void s...
分类:
编程语言 时间:
2015-04-11 17:55:45
阅读次数:
188
mysql数据库预读与不预读数据库信息(use dbname)—Reading table information for completion of table and column names You can turn off this feature to get a quicker star...
分类:
数据库 时间:
2015-04-11 14:49:19
阅读次数:
276