码迷,mamicode.com
首页 >  
搜索关键字:end    ( 30778个结果
【LeetCode】Remove Nth Node From End of List
题目 Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1->2->3->4->5, and n = 2. After removing the second node from the ...
分类:其他好文   时间:2014-12-05 17:29:19    阅读次数:124
顺序插入50万条数据
DECLARE @Start INT = 1; --开始DECLARE @Digits INT = 6; --后几位DECLARE @prefix VARCHAR(50) = '0990';--前缀DECLARE @end INT=500000; --结束SET @Start = 1WHILE @S...
分类:其他好文   时间:2014-12-05 15:27:55    阅读次数:175
iOS 实现进度条(progress)
#import @interface ZSDProgressView : UIView{ UIView *progressView;//进度view}//进度值@property(nonatomic,assign)float progress;@end#define UIColorFromRG...
分类:移动开发   时间:2014-12-05 12:35:32    阅读次数:230
Oracle CASE WHEN 用法介绍
1. CASE WHEN 表达式有两种形式 --简单Case函数 CASE sex WHEN '1' THEN '男' WHEN '2' THEN '女' ELSE '其他' END --Case搜索函数 CASE WHEN sex = '1' THEN '男' WHEN sex = '2' THE...
分类:数据库   时间:2014-12-05 12:30:34    阅读次数:279
python3读取文件
#coding:utf-8rfile = open('test.txt','r')str=[]for x in rfile: str = x.split(',')for x in str: print (chr(int(x)),end='')rfile.close()
分类:编程语言   时间:2014-12-05 12:28:12    阅读次数:131
Xcode--随机数和UIView常见方法
一、类扩展(class extension,匿名分类) 1.格式 @Interface 类名() { //成员变量... } //方法声明... @end 2.作用 1>写在.m文件中 2>一般用来扩充私有成员变量、@property属性、方法等二、随机数生成 1.arc4random() 会...
分类:其他好文   时间:2014-12-05 10:31:53    阅读次数:150
【Leetcode】【Easy】Remove Nth Node From End of List
Given a linked list, remove thenthnode from the end of list and return its head.For example, Given linked list: 1->2->3->4->5, and n = 2. After re...
分类:其他好文   时间:2014-12-05 07:05:34    阅读次数:191
2014.12.03 页面控件
就是托控件,没啥好说的。。。Response :响应 从服务端--客户端 Write("字符串"):向客户端页面输出一段文字 Redirect("URL"):重定向 End():结束向客户端的输出Request:请求 从客户端--服务端 Request["名"]:获取客户端用post或get方式传递...
分类:其他好文   时间:2014-12-05 00:41:00    阅读次数:150
[leetcode]Convert Sorted Array to Binary Search Tree
问题描述: Given an array where elements are sorted in ascending order, convert it to a height balanced BST. 基本思想: 二分法构建二差排序树。 代码: TreeNode *subsortedArrayToBST(vector & num,int begin, int end) /...
分类:其他好文   时间:2014-12-04 23:18:01    阅读次数:189
sql case when
Case具有两种格式。简单Case函数和Case搜索函数。--简单Case函数CASE sexWHEN '1' THEN '男'WHEN '2' THEN '女'ELSE '其他' END--Case搜索函数CASE WHEN sex = '1' THEN '男'WHEN sex = '2' THE...
分类:数据库   时间:2014-12-04 23:12:42    阅读次数:252
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!