码迷,mamicode.com
首页 >  
搜索关键字:where select    ( 51223个结果
bugfree无法上传附件问题
1 查看各个项目的Project ID编号     mysql -uroot -h10.10.2xx.xx     show databases;      use bugfree2;      desc bf_TestProject;      select ProjectID,ProjectName from bf_TestProject;(查询结果如下)      2 在/va...
分类:其他好文   时间:2014-06-20 12:19:19    阅读次数:262
LeetCode: Convert Sorted Array to Binary Search Tree [108]
【题目】 Given an array where elements are sorted in ascending order, convert it to a height balanced BST. 【题意】 给定一个已排序的数组(不存在重复元素),将它转换成一棵平衡二叉搜索树。 【思路】 由于平衡二叉树要求左右子树的高度差绝对值相遇等于1,也就是说左右子树尽可能包含相同数目节点。 则使用二分法来解本题即可。...
分类:其他好文   时间:2014-06-20 11:03:31    阅读次数:246
LeetCode: Path Sum II [113]
【题目】 Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. For example: Given the below binary tree and sum = 22, 5 / 4 8 / / 11 13 4 ...
分类:其他好文   时间:2014-06-20 10:53:08    阅读次数:181
利用百度地图API,获取经纬度坐标
利用百度地图API,获取经纬度坐标代码很简单,但在网上没找到现成的获取地图经纬度的页面。就是想,给当前页面传递一个经纬度,自动定位到此经纬度。然后可以重新选择,选择完返回经纬度。效果如下:源代码下载:http://files.cnblogs.com/zjfree/select_map.rar
分类:Windows程序   时间:2014-06-13 14:25:31    阅读次数:352
LeetCode: Convert Sorted List to Binary Search Tree [109]
【题目】 Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST. 【题意】 将一个有序链表转换成平衡二叉树 【思路】 思路跟Convert Sorted Array to Binary Search Tree完全一样...
分类:其他好文   时间:2014-06-07 16:20:05    阅读次数:287
Swift初探一
今天安装了一下Xcode6-Beta版,想来体验一下Swift的魅力:安装Swift系统最低版本为:10.9.3 只看看一点The Swift Programming Language,下面给大家分享一下:(待续。。。)// Playground - noun: a place where people can play import Cocoa ///1.声明一个可变的变量 var str...
分类:其他好文   时间:2014-06-07 13:54:43    阅读次数:259
Path Sum II
题目 Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. For example: Given the below binary tree and sum = 22, 5 ...
分类:其他好文   时间:2014-06-07 13:47:22    阅读次数:191
IOS中NSNotification使用笔记
1 基本用法 添加观察(可能很多页面) [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(changeIntlCode:) name:NOTIFICATION_SUCCESS_SELECT_INTLCODE object:nil]; 发出通知(可能只有一个页面) ...
分类:移动开发   时间:2014-06-07 13:37:38    阅读次数:223
sql中的CHARINDEX和临时表
update #temp set #temp.Recycle=case when UnionA.num>0 then 1 else 0 end from (select GradeID,sum(num)as num from AreaAllot      where CHARINDEX(@Area,AreaAllot.Area)=1 and LEN(@Area)=LEN(Area)-2 ...
分类:数据库   时间:2014-06-07 12:57:44    阅读次数:304
每日算法之三十:Valid Sudoku (九宫格)
Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. The Sudoku board could be partially filled, where empty cells are filled with the character '.'. A partially fille...
分类:其他好文   时间:2014-06-07 12:51:12    阅读次数:225
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!