码迷,mamicode.com
首页 >  
搜索关键字:nexus one    ( 29197个结果
[leecode]Scramble String
Scramble StringGiven a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible...
分类:其他好文   时间:2014-09-02 00:17:33    阅读次数:260
LeetCode: Gray Code
LeetCode: Gray CodeThe gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integer n represen...
分类:其他好文   时间:2014-09-01 22:31:13    阅读次数:289
LeetCode: Merge Sorted Array
LeetCode: Merge Sorted ArrayGiven two sorted integer arrays A and B, merge B into A as one sorted array. Note:You may assume that A has enough space (...
分类:其他好文   时间:2014-09-01 22:29:23    阅读次数:172
Team Project Proposal: All-in-one多信息源整合的移动应用 ——by Yuchan
在这个每天资讯爆炸的海量信息时代,如何快速获取自己想要的信息是许多人十分感兴趣的话题。 作为IT行业的一员,步步紧跟行业发展、随时根据最新信息做出决策是必不可少的素质之一。而如今移动端的兴起,刺激了人们立即从移动设备上随时随地获取信息的需求,从而导致了信息源类型的应用层出不穷(如左图),社交网...
分类:移动开发   时间:2014-09-01 21:04:43    阅读次数:274
[Hibernate] - Annotations - One To One
Hibernate annotation 一对一的两种实现:1)幅表中有主表的主键ID做为引用2)幅表的主键即为主表的IDhibernate.cfg.xml com.mysql.jdbc.Driver jdbc:mysql://127.0.0.1/...
分类:系统相关   时间:2014-09-01 19:25:43    阅读次数:285
PostgreSQL data同步工具【pg_rewind】
pg_rewind is a tool for synchronizing a PostgreSQL data directory with another PostgreSQL data directory that was forked from the first one. The result is equivalent to rsyncing the first data directory with the second one. The advantage of pg_rewind over ...
分类:数据库   时间:2014-09-01 17:44:53    阅读次数:495
UVA - 1156 Pixel Shuffle (置换+模拟)
Description Shuffling the pixels in a bitmap image sometimes yields random looking images. However, by repeating the shuffling enough times, one finally recovers the original images. This should ...
分类:其他好文   时间:2014-09-01 15:39:53    阅读次数:230
sqlalchemy操作
Sqlalchemy ORM操作归类 #简单查询 #注意User是一个类对象,user_table是数据库中的表 #session = sessionmaker() #创建了一个自定义了的 Session类 1. session.query(User).all() session.query(User).first()# 记录不存在时,first() 会返回 None session.query(User).one()#用于获取所有元素,如果没有获得结果或者返回了多个结果,则会产生一个 err...
分类:数据库   时间:2014-09-01 14:05:33    阅读次数:317
Singleton Design Pattern
Definition Ensure a class has only one instance and provide a global point of access to it.Participants The classes and/or objects participating in th...
分类:其他好文   时间:2014-09-01 12:19:33    阅读次数:162
UVA - 11077 Find the Permutations (置换)
Sorting is one of the most usedoperations in real life, where Computer Science comes into act. It iswell-known that the lower bound of swap based sorting is nlog(n).It means that the best possible sor...
分类:其他好文   时间:2014-09-01 10:50:23    阅读次数:234
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!