自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 资源 (1)
  • 收藏
  • 关注

原创 【LeetCode】Largest Rectangle in Histogram

Largest Rectangle in Histogram Total Accepted: 26683 Total Submissions: 120953 My Submissions Question Solution Given n non-negative integers representing the histogram's bar height where the widt

2015-01-27 18:58:12 1050

原创 【Error】org.hibernate.ejb.HibernatePersistence cannot be cast to javax.persist

java.lang.ClassCastException: org.hibernate.ejb.HibernatePersistence cannot be cast to javax.persistence.spi.PersistenceProvider解决方案删掉webapp下的WEB-INFO/hibernate-jpa-2.0-api-1.0.1.Final.jar

2015-01-27 14:19:27 2264

原创 【LeetCode】Department Highest Salary && Department Top Three Salaries

1、Department Highest SalaryTotal Accepted: 367 Total Submissions: 1887 My Submissions Question Solution The Employee table holds all employees. Every Employee has an Id, a salary, and there is

2015-01-27 10:51:04 1259

原创 【LeetCode】Min Stack && 【九度】题目1522:包含min函数的栈

1、【LeetCode】Min StackMin StackTotal Accepted: 15869 Total Submissions: 102810 My Submissions Question Solution Design a stack that supports push, pop, top, and retrieving the minimum element in

2015-01-24 21:13:36 775

原创 【PostgresQL】PostgresQL 基本操作

1、登陆PostgresQLpsql -U postgres -d postgres2、创建表userscreate table users(id serial,name varchar(20));3、增加字段alter table users add column age int;4、修改字段类型alter table users alter col

2015-01-17 14:16:05 980

原创 【LeetCode】Second Highest Salary && Nth Highest Salary

1、Second Highest Salary Total Accepted: 1030 Total Submissions: 4309 My Submissions Question Solution Write a SQL query to get the second highest salary from the Employee table.+----+--------+|

2015-01-16 14:12:37 3392 6

原创 【LeetCode】Largest Number

Largest Number Total Accepted: 2369 Total Submissions: 15947 My Submissions Question Solution Given a list of non negative integers, arrange them such that they form the largest number.For examp

2015-01-16 10:05:03 3119

转载 【并发】Java并发的四种风味:Thread、Executor、ForkJoin和Actor

本文由 ImportNew - shenggordon 翻译自 Oleg Shelajev。欢迎加入翻译小组。转载请见文末要求。这篇文章讨论了Java应用中并行处理的多种方法。从自己管理Java线程,到各种更好几的解决方法,Executor服务、ForkJoin 框架以及计算中的Actor模型。Java并发编程的4种风格:Threads,Executors,ForkJoin和A

2015-01-15 15:58:23 940

原创 【Mac】Mac 您需要安装旧 Java SE 6 运行环境才能打开"idea/pycharm"

有两种解决办法:1、下载:适用于 OS X 的 Java 2014-001 ,安装即可解决。2、用文本编辑器打开/Applications/IntelliJ IDEA 13.app/Contents/Info.plist搜索JVMVersion,将其值改为1.7*再次运行应用即可看到应用成功运行

2015-01-15 14:41:55 5344

时间转换工具

将时间转换为13位毫秒,例如2014-01-14 12:43:20转为13位毫秒是1389674600000,同时也支持将1389674600000转换为2014-01-14 12:43:20

2014-01-14

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除