摘要: 是一款方便应用操作数据库的中间件,使应用直接通过操作Java对象来操作数据库。 实现了ORM模型,包括:数据库表与JAVA对象的映射,表关联与Java对象关系的映射。 实现了ORM操作,包括:对表数据的增删改查,对表的级联操作等。 提供了方言机制,增加了应用在不同底层数据库之间的可移植性。 提供了J 阅读全文
posted @ 2018-02-07 14:04 学而~ 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 问题描述:Givenn, how many structurally uniqueBST's(binary search trees) that store values 1...n?For example,Givenn= 3, there are a total of 5 unique BST's... 阅读全文
posted @ 2015-03-21 21:35 学而~ 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 问题描述Given a binary tree, return thepreordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,2,3]... 阅读全文
posted @ 2015-03-21 20:45 学而~ 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 问题描述:Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space ... 阅读全文
posted @ 2015-03-21 20:24 学而~ 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 问题描述:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the t... 阅读全文
posted @ 2015-03-21 16:49 学而~ 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 问题描述Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without using extra space... 阅读全文
posted @ 2015-03-21 14:34 学而~ 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 1. 绝对值int abs( int x ){ int y ; y = x >> 31 ; return y ? ( ~x + 1) : x;} 任何数与0异或都保持不变,与-1(0xffffffff)异或都取反优化后:int abs( int x ){ int y ; ... 阅读全文
posted @ 2015-01-30 15:29 学而~ 阅读(823) 评论(0) 推荐(1) 编辑
摘要: 要想超神,就要什么都精!知识准备:1. 输出浮点数的十六进制形式?(利用指针输出)将浮点数指针-转换成-整型指针,以十六进制的格式输出指针内容。示例程序:#includeint main(){ float *var; scanf("%f",var); pri... 阅读全文
posted @ 2015-01-28 20:44 学而~ 阅读(8503) 评论(5) 推荐(1) 编辑
摘要: 项目总结 我是研二的一名学生,一直学习嵌入式方面的知识,C语言用的最多。以前本人未接触过web开发,这是第一次进行web开发,也是第一次学习。学习时间也就一个星期,看了《java编程思想》、《Servlet与JSP核心编程》、《http协议详解》,还未学习设计模式、框架方面的知识,关于js、css... 阅读全文
posted @ 2015-01-27 21:16 学而~ 阅读(1613) 评论(0) 推荐(0) 编辑
摘要: 概念正则表达式是对字符串操作的一种逻辑公式,就是用事先定义好的一些特定字符、及这些特定字符的组合,组成一个“规则字符串”,这个“规则字符串”用来表达对字符串的一种过滤逻辑。为什么使用正则表达式?典型的搜索和替换操作要求您提供与预期的搜索结果匹配的确切文本。虽然这种技术对于对静态文本执行简单搜索和替换... 阅读全文
posted @ 2015-01-27 11:37 学而~ 阅读(353) 评论(0) 推荐(0) 编辑