所有语句均为安装oracle数据库后scott的默认表emp,dept等表 1.自己插入自己:insert into 表名 (字段)select *from 表名 2.去除重复行: select distinct deptno,job from emp; 3.查询smith 的薪水,工作,所在部门 ...
分类:
数据库 时间:
2019-12-22 10:34:35
阅读次数:
94
Design an Iterator class, which has: A constructor that takes a string characters of sorted distinct lowercase English letters and a number combinatio ...
分类:
其他好文 时间:
2019-12-22 10:23:29
阅读次数:
99
Description Description Given an integer matrix. Find the longest increasing continuous subsequence in this matrix and return the length of it. The lo ...
分类:
其他好文 时间:
2019-12-21 23:04:41
阅读次数:
169
Description Description Given two strings S and T. Count the number of distinct subsequences of S which equals T. A subsequence of a string is a new s ...
分类:
其他好文 时间:
2019-12-21 22:46:20
阅读次数:
101
Given a sequence of K integers { N?1??, N?2??, ..., N?K?? }. A continuous subsequence is defined to be { N?i??, N?i+1??, ..., N?j?? } where 1. The Max ...
分类:
其他好文 时间:
2019-12-21 22:45:36
阅读次数:
72
Description Description Given a sequence of integers, find the longest increasing subsequence (LIS). You code should return the length of the LIS. Cla ...
分类:
其他好文 时间:
2019-12-21 22:42:03
阅读次数:
92
Description Description Given two strings, find the longest common subsequence (LCS). Your code should return the length of LCS. Clarification What's ...
分类:
其他好文 时间:
2019-12-21 22:27:26
阅读次数:
80
Description Description Given a string, find length of the longest repeating subsequence such that the two subsequence don’t have same string characte ...
分类:
其他好文 时间:
2019-12-21 22:26:52
阅读次数:
71
Description Description Given n distinct positive integers, integer k (k <= n) and a number target. Find k numbers where sum is target. Calculate how ...
分类:
其他好文 时间:
2019-12-21 22:15:15
阅读次数:
74
单表查询:select from 表 where 条件 group by 分组 having 过滤 order by 排序 limit n; 1. 语法: select distinct 字段1,字段2... from 表名 where 条件 group by 组名 having 筛选 order ...
分类:
数据库 时间:
2019-12-19 21:27:24
阅读次数:
77