自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

繁城落叶

干云蔽日之木,起于葱青。

  • 博客(18)
  • 资源 (8)
  • 问答 (2)
  • 收藏
  • 关注

原创 389. Find the Difference。

Given two strings s and t which consist of only lowercase letters.String t is generated by random shuffling string s and then add one more letter at a random position.Find the letter that was added in

2018-02-25 19:45:27 290

原创 451. Sort Characters By Frequency。

Given a string, sort it in decreasing order based on the frequency of characters.Example 1: Input: “tree” Output: “eert” Explanation: ‘e’ appears twice while ‘r’ and ‘t’ both appea

2018-02-25 19:18:56 277

原创 nginx和vsftpd搭建图片服务器。

前面已经安装了vsftpd服务:Vsftpd的安装和配置。现在再安装一个nginx服务器,配合起来就能够完成一个简易的图片服务器。nginx服务器之前也研究过,但是没有做什么笔记也都全忘了,事实证明不能太相信自己的记忆,好记性不如烂笔头。nginx的安装。本人使用的ubuntu系统,安装nginx比较简单,但是nginx需要依赖几个额外的库,首先因为nginx编译2环境需要依赖gc...

2018-02-24 19:16:40 676

原创 Vsftpd的安装和配置。

需要使用ftp来做图片服务器,就选用了vsftpd来实现。安装起来比较简单,但是在过程中出现了几个问题,为了防止以后使用,就记录一下整个过程。安装首先本人使用的是ubuntu系统,安装vsftpd直接使用命令即可:sudo apt-get install vsftpd安装完成之后需要查看对应的端口是否开放了,ftp使用的是21端口:netstat -npltu | grep 21登陆。等待安装完成之

2018-02-23 20:38:10 633

原创 748. Shortest Completing Word。

Find the minimum length word from a given dictionary words, which has all the letters from the string licensePlate. Such a word is said to complete the given string licensePlateHere, for letters we ign

2018-02-23 00:02:41 653

原创 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 no future day for which this i

2018-02-22 23:16:08 865

原创 PageHelper版本差异造成的Interceptor和dialect问题。

问题描述。在学习网上流传的电商项目,项目也比较老了,在对mybatis分页的时候使用的是pagehelper。在最初搭建项目的时候,我没有使用教程中给的本地maven,而是直接从网上拉取包。教程中pagehelper使用的版本号是:< pagehelper.version >3.4.2fix< /pagehelper.version >,当时一直下载不下来(后来才知道f...

2018-02-22 20:15:23 6235 2

原创 136. Single Number。

Given an array of integers, every element appears twice except for one. Find that single one.原文:https://leetcode.com/problems/single-number/description/在一写数字中,有一个数字只出现了一次,其余的都出现了两次,找出出现一次的数字。首先可以利用额外的辅

2018-02-21 20:33:48 318

原创 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). The grid is completely s

2018-02-21 13:02:51 276

原创 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. You need to distribute these

2018-02-21 10:14:20 384

原创 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”, “Alaska”, “Dad”, “Peace”]

2018-02-20 22:05:45 413

原创 771. Jewels and Stones。

You’re given strings J representing the types of stones that are jewels, and S representing the stones you have. Each character in S is a type of stone you have. You want to know how many of the ston

2018-02-20 17:08:15 547

原创 216. Combination Sum III。

Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be a unique set of numbers.Example 1: Input: k ...

2018-02-20 14:34:55 348

原创 kafka1.0完全分布式搭建。

kafka是一个分布式的消息系统,可以用来作为消息分发使用,也可以配合storm和flume使用,将其作为这两二者之间的一个缓冲区域。在这里记录一下搭建的过程,前提时机器上装有java环境和zookeeper环境,这两个配置起来都比较简单,不再累述,在这里主要介绍如何配置安装kafka。实验环境。搭建环境:ubuntu16.04. 节点:node1、node2、node3。...

2018-02-19 19:26:49 1828

原创 769. Max Chunks To Make Sorted。

Given an array arr that is a permutation of [0, 1, …, arr.length - 1], we split the array into some number of “chunks” (partitions), and individually sort each chunk. After concatenating them, the re...

2018-02-14 12:06:43 521

原创 714. Best Time to Buy and Sell Stock with Transaction Fee。

Your are given an array of integers prices, for which the i-th element is the price of a given stock on day i; and a non-negative integer fee representing a transaction fee.You may complete as many tra

2018-02-12 22:50:26 722

原创 Fatal error in launcher: Unable to create process using '"'

最近更换了系统,由于加了固态导致磁盘的盘符都发生了变化,不想费劲重新装一些环境,所以就直接使用了之前的环境直接进行配置。原来的Java和Python都是装在D盘的,但是换完系统之后盘符变成了I盘,我直接把Java的环境变量进行更换配置就可以直接使用了,然后就来更换Python的环境变量,本人是习惯使用PyCharm和cmder+ipython来编写Python代码的,所以就试了下是否能够使用,本来想

2018-02-11 18:00:55 1155

原创 121. Best Time to Buy and Sell Stock。

Say you have an array for which the ith element is the price of a given stock on day i.If you were only permitted to complete at most one transaction (ie, buy one and sell one share of the stock), desi

2018-02-09 23:12:44 294

系统分析与设计-小云铺上商城系统

系统分析与设计课程设计、小云铺商城系统、采用startUML建模、vision绘制部分图。包括用例图、类图、活动图、协作图、部署图、流程图等等,文档齐全。

2017-12-26

hadoop安装指南

hadoop安装指南

2017-05-22

Oracle11g安装卸载详细图解

oracle11g安装过程图解

2017-05-14

Android无限轮播源码

Android基于ViewPager实现的无限轮播源码

2017-04-06

ChromeDriver驱动(win32)

下载后解压,如果是使用python,则将解压后的文件放到python安装的目录下面。

2017-02-11

c++文件加密课程设计

采用cpp实现文件加密,加密算法包括凯撒加密、异或加密、四方加密、栅栏加密、base64加密。

2017-01-19

JavaScript注册登录

JavaScript注册登录界面

2016-12-16

C++贪吃蛇源代码

C++贪吃蛇源代码。

2016-12-11

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

TA关注的人

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