首页 > 2016年09月22日 > 全部分享
从键盘录入对象
import java.util.Scanner; //必须写在所有class 前面 //创建录入对象 Scanner sc = new Scanner(System.in); System.out.println("请输入第一个操作数:"); int firstNumber = sc.nextIn ...
分类:其他   时间:2016-09-22 07:36:19    收藏:0  评论:0  赞:0  阅读:205
在JS和.NET中使用JSON (以及使用Linq to JSON定制JSON数据)
转载原地址: http://www.cnblogs.com/mcgrady/archive/2013/06/08/3127781.html 阅读目录 阅读目录 JSON的两种结构 认识JSON字符串 在JS中如何使用JSON 在.NET中如何使用JSON 总结 JSON的全称是”JavaScript ...
分类:Web开发   时间:2016-09-22 06:35:17    收藏:0  评论:0  赞:0  阅读:268
238. Product of Array Except Self
Given an array of n integers where n > 1, nums, return an array output such that output[i] is equal to the product of all the elements of nums except  ...
分类:其他   时间:2016-09-22 06:34:58    收藏:0  评论:0  赞:0  阅读:280
156. Binary Tree Upside Down
Given a binary tree where all the right nodes are either leaf nodes with a sibling (a left node that shares the same parent node) or empty, flip it up ...
分类:其他   时间:2016-09-22 06:34:19    收藏:0  评论:0  赞:0  阅读:256
Unique Word Abbreviation
An abbreviation of a word follows the form <first letter><number><last letter>. Below are some examples of word abbreviations: a) it --> it (no abbrev ...
分类:其他   时间:2016-09-22 06:34:00    收藏:0  评论:0  赞:0  阅读:228
Leetcode Binary Search Conclusion
278 First Bad Version23.7%Easy 278. First Bad Version 349 Intersection of Two Arrays44.5%Easy 374 Guess Number Higher or Lower32.2%Easy 350 Intersecti ...
分类:其他   时间:2016-09-22 06:33:51    收藏:0  评论:0  赞:0  阅读:287
Shell 学习
mvn dependency:copy-dependencies -DoutputDirectory=lib ...
分类:系统服务   时间:2016-09-22 06:33:41    收藏:0  评论:0  赞:0  阅读:253
339. Nested List Weight Sum
Given a nested list of integers, return the sum of all integers in the list weighted by their depth. Each element is either an integer, or a list -- w ...
分类:其他   时间:2016-09-22 06:33:22    收藏:0  评论:0  赞:0  阅读:197
重做53. Maximum Subarray
Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array [-2,1,-3,4,-1,2, ...
分类:其他   时间:2016-09-22 06:33:14    收藏:0  评论:0  赞:0  阅读:221
50. Pow(x, n)
Implement pow(x, n). ...
分类:其他   时间:2016-09-22 06:32:55    收藏:0  评论:0  赞:0  阅读:216
336. Palindrome Pairs
Given a list of unique words. Find all pairs of distinct indices (i, j) in the given list, so that the concatenation of the two words, i.e.words[i] + ...
分类:其他   时间:2016-09-22 06:32:43    收藏:0  评论:0  赞:0  阅读:273
152. Maximum Product Subarray
Find the contiguous subarray within an array (containing at least one number) which has the largest product. For example, given the array [2,3,-2,4],t ...
分类:其他   时间:2016-09-22 06:32:34    收藏:0  评论:0  赞:0  阅读:200
205. Isomorphic Strings
Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the characters in s can be replaced to get t. All occurrenc ...
分类:其他   时间:2016-09-22 06:31:56    收藏:0  评论:0  赞:0  阅读:221
来自 Thoughtram 的 Angular 2 系列资料
Angular 2 已经正式 Release 了,Thoughtram 已经发布了一系列的文档,对 Angular 2 的各个方面进行深入的阐释和说明。 我计划逐渐将这个系列翻译出来,以便对大家学习 Angular 2 提供一些方便。 ...
分类:其他   时间:2016-09-22 06:31:46    收藏:0  评论:0  赞:0  阅读:236
c#委托
备注:这篇文章来自百度,因为写得很好,所以转载过来。 C#委托 委托和事件在.NET Framework 中的应用非常广泛,然而,较好地理解委托和事件对很多接触C#时间不长的人来说并不容易。 引言 C#委托和事件它们就像是一道槛儿,过了这个槛的人,觉得真是太容易了,而没有过去的人每次见到委托和事件就 ...
分类:Windows开发   时间:2016-09-22 06:31:17    收藏:0  评论:0  赞:0  阅读:300
Leetcode Trie Conclusion
...
分类:其他   时间:2016-09-22 06:30:38    收藏:0  评论:0  赞:0  阅读:211
Linq的一些应用1
一、Where的筛选功能 1、索引查询。where重载方法第一个参数查询对象,第二个参数计数器的索引,如: 找寻姓氏以x开头,索引为偶数的结果。 2、类型筛选 可以选晒数组中不同类型的对象,如string和into类型。 二、复合from子句 第二个子句访问第一个子句返回的对象 复合子句可以用Sel ...
分类:其他   时间:2016-09-22 06:30:29    收藏:0  评论:0  赞:0  阅读:199
(01背包)HDU - 2126 Buy the souvenirs
原题链接:http://acm.hdu.edu.cn/showproblem.php?pid=2126 题意:给n个物品,和m块钱,输出最多物品个数和其方案数。 委屈:求出最多物品个数就是一个裸的01背包,但是同时求出方案数,难住了我。 想了半天,感觉可以一波dp求出来,但是又想不明白状态是怎么表示 ...
分类:其他   时间:2016-09-22 06:30:19    收藏:0  评论:0  赞:0  阅读:259
static关键字与方法区和类加载
1.static的作用 答:将成员变量或方法存储进方法区。因为方法区能保证数据只存在一份,只会加载一次(类加载器加载类的时候才加载一次) 注:static Object obj = new Object();方法区存储的是obj这个引用变量,而不是Obejct这个被创建的对象,对象依旧存储在堆中。只 ...
分类:其他   时间:2016-09-22 06:30:01    收藏:0  评论:0  赞:0  阅读:225
SQL 表分区
表分区,可提高大数据量表的查询效率。分区涉及的知识点有: 一,创建文件组和文件; 二,创建分区函数; 三,创建分区方案; 四,对表分区; 五,合并分区表。 一,创建文件组和文件。可视化界面创建如下图,代码创建这里不讲。 二,创建分区函数、分区方案。点击表->存储->创建分区。例如分为三个区,80后, ...
分类:数据库技术   时间:2016-09-22 06:29:41    收藏:0  评论:0  赞:0  阅读:402
1194条   上一页 1 ... 50 51 52 53 54 ... 60 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!