摘要:
Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array whic 阅读全文
摘要:
Given two binary strings, return their sum (also a binary string). For example, a = "11" b = "1" Return "100". 题意:二进制的加法。 思路:跟大数加法差点儿相同。 class Solutio 阅读全文
摘要:
BLOB和CLOB都是大字段类型,BLOB是按二进制字节码来存储的。而CLOB是能够直接存储字符串的。 在hibernate or JPA Annotation中。实体BLOB、CLOB类型的注解与普通的实体属性有些不同,详细操作例如以下: BLOB类型,类型声明为byte[]: private b 阅读全文
摘要:
看了非常多Nginx的配置,好像都忽略了ip直接訪问Web的问题。这样理论上不利于SEO优化,所以我们希望能够避免直接用IP訪问站点。而是域名訪问。详细怎么做呢。看以下。 官方文档中提供的方法: If you do not want to process requests with undefine 阅读全文
摘要:
M // // form2.m // test_multi_window // // Created by on 23/7/14. // Copyright (c) 2014 EDU. All rights reserved. // #import "form2.h" @interface form 阅读全文
摘要:
一.题目 Minimum Depth of Binary Tree Total Accepted: 58982 Total Submissions: 202860My Submissions Given a binary tree, find its minimum depth. The minim 阅读全文
摘要:
The smallest number expressible as the sum of a prime square, prime cube, and prime fourth power is 28. In fact, there are exactly four numbers below 阅读全文