自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(212)
  • 资源 (8)
  • 收藏
  • 关注

原创 36. Valid Sudoku

36. Valid Sudoku题目描述:Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with the character '.'.题目大意:验证数独

2018-01-16 21:44:28 415 1

原创 JAVA生成字符数字交替的随机密码

package com.oovever.util;import java.util.Date;import java.util.Random;/** * PassWord工具类 * @author OovEver * 2018/1/14 23:58 */public class PasswordUtil {//定义可以使用的字符 public final static

2018-01-15 00:01:59 543 1

原创 JAVA中ResourceBundle使用详解

JAVA中ResourceBundle使用详解这个类主要用来解决国际化和本地化问题。国际化和本地化可不是两个概念,两者都是一起出现的。可以说,国际化的目的就是为了实现本地化。比如对于“取消”,中文中我们使用“取消”来表示,而英文中我们使用“cancel”。若我们的程序是面向国际的(这也是软件发展的一个趋势),那么使用的人群必然是多语言环境的,实现国际化就非常有必要。而ResourceBund

2018-01-14 22:40:50 92319 10

原创 554.Brick Wall

554.Brick Wall题目描述:There is a brick wall in front of you. The wall is rectangular and has several rows of bricks. The bricks have the same height but different width. You want to draw a vertical li

2018-01-14 17:42:28 451

原创 166. Fraction to Recurring Decimal

166. Fraction to Recurring Decimal题目描述:Given two integers representing the numerator and denominator of a fraction, return the fraction in string format.If the fractional part is repeating, enclose t

2018-01-14 17:06:08 312

原创 274. H-Index

274. H-Index题目描述:Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to compute the researcher’s h-index.According to the definition of h-index on W

2018-01-14 16:46:49 221

原创 438 .Find All Anagrams in a String

438 .Find All Anagrams in a String题目描述:Given a string s and a non-empty string p, find all the start indices of p’s anagrams in s.Strings consists of lowercase English letters only and the length of b

2018-01-13 15:30:24 239

原创 204. Count Primes

204. Count Primes题目描述:Description:Count the number of prime numbers less than a non-negative number, n.题目大意:找出小于n的素数的个数。代码:package HashTable;/*** @author OovEver* 2018/1/12 21:59*/public class L

2018-01-12 22:13:41 207

原创 599. Minimum Index Sum of Two Lists

599. Minimum Index Sum of Two Lists题目描述:Suppose Andy and Doris want to choose a restaurant for dinner, and they both have a list of favorite restaurants represented by strings.You need to help th

2018-01-11 16:00:00 359

原创 290. Word Pattern

290. Word Pattern题目描述:Given a pattern and a string str, find if str follows the same pattern.Here follow means a full match, such that there is a bijection between a letter in pattern and a non-e

2018-01-11 14:17:54 206

原创 500. Keyboard Row

500. Keyboard Row题目描述:Given a List of words, return the words that can be typed using letters of alphabet on only one row’s of American keyboard like the image below.Example 1:Input: ["Hello", "Alask

2018-01-11 14:04:52 454

原创 463. Island Perimeter

463. Island Perimeter题目描述:You are given a map in form of a two-dimensional integer grid where 1 represents land and 0 represents water. Grid cells are connected horizontally/vertically (not diagonally

2018-01-11 13:41:38 227

原创 690. Employee Importance

690. Employee Importance题目描述:You are given a data structure of employee information, which includes the employee’s unique id, his importance value and his **direct**subordinates’ id.For example, emplo

2018-01-11 13:28:21 266

原创 739. Daily Temperatures

739. Daily Temperatures题目描述:Given a list of daily temperatures, produce a list that, for each day in the input, tells you how many days you would have to wait until a warmer temperature. If there is n

2018-01-10 00:12:26 292

原创 205. Isomorphic Strings

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 occurrences of a character must b

2018-01-09 23:51:21 271

原创 202. Happy Number

202. Happy Number题目描述:Write an algorithm to determine if a number is “happy”.A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the

2018-01-09 10:48:46 232

原创 594. Longest Harmonious Subsequence

594. Longest Harmonious Subsequence题目描述:We define a harmonious array is an array where the difference between its maximum value and its minimum value is exactly 1.Now, given an integer array, you need

2018-01-09 10:33:13 255

原创 575. Distribute Candies

575. Distribute Candies题目描述:Given an integer array with even length, where different numbers in this array represent different kinds of candies. Each number means one candy of the corresponding kind.

2018-01-09 10:15:48 191

原创 447. Number of Boomerangs

447. Number of Boomerangs题目描述:Given n points in the plane that are all pairwise distinct, a “boomerang” is a tuple of points (i, j, k) such that the distance between iand j equals the distance between

2018-01-09 00:08:03 229

原创 409. Longest Palindrome

409. Longest Palindrome题目描述:Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters.This is case sensitive, for

2018-01-08 23:36:49 195

原创 375. Guess Number Higher or Lower II

375. Guess Number Higher or Lower II题目描述:We are playing the Guess Game. The game is as follows:I pick a number from 1 to n. You have to guess which number I picked.Every time you guess wrong, I’ll tel

2018-01-08 14:30:33 218

原创 486. Predict the Winner

486. Predict the Winner题目描述:Given an array of scores that are non-negative integers. Player 1 picks one of the numbers from either end of the array followed by the player 2 and then player 1 and so on

2018-01-08 13:44:37 200

原创 464 Can I Win

464 Can I Win题目描述:In the “100 game,” two players take turns adding, to a running total, any integer from 1..10. The player who first causes the running total to reach or exceed 100 wins.What if we cha

2018-01-08 13:26:25 250

原创 309. Best Time to Buy and Sell Stock with Cooldown

309. Best Time to Buy and Sell Stock with Cooldown题目描述:Say you have an array for which the i*th element is the price of a given stock on day *i.Design an algorithm to find the maximum profit. You may

2018-01-07 20:52:44 192

原创 638. Shopping Offers

638. Shopping Offers题目描述:In LeetCode Store, there are some kinds of items to sell. Each item has a price.However, there are some special offers, and a special offer consists of one or more different k

2018-01-07 18:48:23 296

原创 264. Ugly Number II

264. Ugly Number II题目描述:Write a program to find the n-th ugly number.Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example, 1, 2, 3, 4, 5, 6, 8, 9, 10, 12 is the sequ

2018-01-07 17:12:24 179

原创 304.Range Sum Query 2D - Immutable

304.Range Sum Query 2D - Immutable题目描述:Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left corner (*row*1, *col*1) and lower right corner (*row*2, *co

2018-01-07 16:28:35 227

原创 416. Partition Equal Subset Sum

416. Partition Equal Subset Sum题目描述:Given a non-empty array containing only positive integers, find if the array can be partitioned into two subsets such that the sum of elements in both subsets is eq

2018-01-06 16:57:14 203

原创 357. Count Numbers with Unique Digits

357. Count Numbers with Unique Digits题目描述:Given a non-negative integer n, count all numbers with unique digits, x, where 0 ≤ x < 10n.Example: Given n = 2, return 91. (The answer should be the total n

2018-01-06 15:28:16 190

原创 576. Out of Boundary Paths

576. Out of Boundary Paths题目描述:There is an m by n grid with a ball. Given the start coordinate (i,j) of the ball, you can move the ball to adjacent cell or cross the grid boundary in four directions (

2018-01-06 15:14:38 228

原创 322. Coin Change

322. Coin Change题目描述:You are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of coins that you need to make up that amount. If

2018-01-06 14:52:22 187

原创 368. Largest Divisible Subset

368. Largest Divisible Subset题目描述:Given a set of distinct positive integers, find the largest subset such that every pair (Si, Sj) of elements in this subset satisfies: Si % Sj = 0 or Sj % Si = 0.If t

2018-01-05 11:18:20 224

原创 413 Arithmetic Slices

413 Arithmetic Slices题目描述:A sequence of number is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the same.For example, these

2018-01-04 23:21:20 212

原创 343. Integer Break

343. Integer Break题目描述:Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Return the maximum product you can get.For exampl

2018-01-04 22:48:29 162

原创 376. Wiggle Subsequence

376. Wiggle Subsequence题目描述:A sequence of numbers is called a wiggle sequence if the differences between successive numbers strictly alternate between positive and negative. The first difference (if o

2018-01-04 21:59:13 293

原创 338. Counting Bits

338. Counting Bits题目描述:Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1’s in their binary representation and return them as an array.Exam

2018-01-03 16:46:31 170

原创 377. Combination Sum IV

377. Combination Sum IV题目描述:Given an integer array with all positive numbers and no duplicates, find the number of possible combinations that add up to a positive integer target.Example:nums = [1, 2,

2018-01-03 16:35:47 187

原创 392. Is Subsequence

392. Is Subsequence题目描述:Given a string s and a string t, check if s is subsequence of t.You may assume that there is only lower case English letters in both s and t. t is potentially a very long (leng

2018-01-03 11:22:19 169

原创 523. Continuous Subarray Sum

523. Continuous Subarray Sum题目描述:Given a list of non-negative numbers and a target integer k, write a function to check if the array has a continuous subarray of size at least 2 that sums up to the mu

2018-01-03 10:57:13 333

原创 300. Longest Increasing Subsequence

300. Longest Increasing Subsequence题目描述:Given an unsorted array of integers, find the length of longest increasing subsequence.For example, Given [10, 9, 2, 5, 3, 7, 101, 18], The longest increasing

2018-01-03 10:31:55 192

commons-lang3-3.7-bin.tar

commons-lang3-3.7 提供StringUtils 用于处理各种String字符串

2017-11-19

unity 圣典

unity3d的中文帮助手册 unity3d的经典之作

2015-03-14

mysql驱动 jar包

用于web开发 mysql数据库的连接 mysql5.1.16驱动rar包

2014-12-22

MyEclipse汉化+破解

MyEclipse的破解与汉化myeclipse 9.1 破解 激活,java编写,适用于装有java环境的各种操作系统,win,linux,maxos 第一步:输入任意用户名 第二步:点击Systemid... 按钮,自动生成本机器的systemid。 第三步: 点菜单Tools->RebuildKey 第四步:点击active按钮.会在显示区域生成 LICENSE_KEY ACTIVATION_CODE ACTIVATION_KEY 这时候不要打开myeclipse的激活页面输入。 第五步:打开菜单Tools->ReplaceJarFile,弹出文件选择对话框,到myeclipse的安装目录common文件夹下选择plugins文件夹 点击打开,程序会卡住,不要担心,正在替换文件呢! 一会之后,会输出信息,文件已被替换 第六步:点菜单Tools->SaveProperites OK 。打开你的myeclipse已经不需要再输入激活码什么的了。

2014-12-03

MATLAB中文帮助手册

matlab中文操作手册 最简单最使用的MATLAB操作手册纯中文的易读易懂

2014-09-14

内大软件工程小学期作业

内蒙古大学软件工程小学期作业,超值实惠 猜单词 图形更改 图书馆管理系统

2014-08-27

小学期异质链表

设计一个计算图形面积的类库。它的顶层是一个抽象类,并且提供三个纯虚函数:显示数据成员、返回面积和返回体积。    class Shape     {public:      virtual void showData()=0; virtual double reArea()=0; virtual double reVolume()=0;     }; 第二层有Shape类派生TwoDimShape(二维图形)和ThreeShape(三维图形)类。他们增加了有关的数据成员,但没有成员函数的实现。    第三层派生具体的图形类。TwoDimShape类派生Circle(圆)、Elipse(椭圆)、Rectangle(矩形)和Triangle(三角形)等类。ThreeShape类派生Ball(球体)、Cylider(圆柱体)和RectangularParallelepiped(长方体)等类。

2013-08-28

猜单词游戏完成版

   在d盘的game目录下,建立一个文本文档answer.txt ,文件内容为用户设定的单词答案。(文件的内容可以直接给定)。如:    University 建立c++程序,读回answer.txt文件的内容,放入一维数组a中,判断单词的长度n。然后产生一个0到n-1的随机数i。向用户显示a[0]..a[n-1]中除a[i]之外的全部元素,而a[i]位置用一个*填补,让用户猜想*处应该是什么字母,用户输入正确则给予祝贺,错误就给予鼓励

2013-08-28

空空如也

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

TA关注的人

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