*博客头图：

RGB颜色，例如：#AFAFAF

Hover：

RGB颜色，例如：#AFAFAF

RGB颜色，例如：#AFAFAF

# weixin_30247159的博客

• 博客(4502)
• 收藏
• 关注

#### 转载 java项目连接数据库（oracle）中文乱码问题解决方法

2019-09-29 11:41:00 2251

#### 转载 体检

2019-09-29 08:04:28 507

#### 转载 学做菜的笔记

2019-09-28 19:24:00 451

#### 转载 Python实现目录文件的全量和增量备份

2019-09-24 11:52:00 227

#### 转载 nc 命令转发bash

2019-09-23 21:20:00 447

#### 转载 219. Contains Duplicate II - LeetCode

Description:Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and the absolute difference between i...

2019-09-20 16:52:00 85

#### 转载 581. Shortest Unsorted Continuous Subarray (LeetCode)

Description:Given an integer array, you need to find one continuous subarray that if you only sort this subarray in ascending order, then the whole array will be sorted in ascending order, to...

2019-09-20 15:57:00 76

#### 转载 697. Degree of an Array - LeetCode

Description:Given a non-empty array of non-negative integers nums, the degree of this array is defined as the maximum frequency of any one of its elements.Your task is to find the smallest ...

2019-09-20 11:36:00 73

#### 转载 (Easy)1071. Greatest Common Divisor of Strings- LeetCode

Description:For strings S and T, we say "T divides S" if and only if S = T + ... + T (T concatenated with itself 1 or more times)Return the largest string X such that X divides str1and X ...

2019-09-19 18:06:00 112

#### 转载 (Easy) Lexicographical Numbers - LeetCode.（非独立完成）

Description:Given an integer n, return 1 - n in lexicographical order.For example, given 13, return: [1,10,11,12,13,2,3,4,5,6,7,8,9].Please optimize your algorithm to use less time and spac...

2019-09-10 17:35:00 74

#### 转载 (Easy) Ransom Note - LeetCode

Description:Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will return true if the ransom note can be constructed fr...

2019-09-10 10:12:00 124

#### 转载 (Easy) Goat Latin - LeetCode

Description:A sentence S is given, composed of words separated by spaces. Each word consists of lowercase and uppercase letters only.We would like to convert the sentence to "Goat Latin"(a...

2019-09-09 14:56:00 82

#### 转载 （Easy) Day of the week - LeetCode

Description:Given a date, return the corresponding day of the week for that date.The input is given as three integers representing the day, month and year respectively.Return the answer a...

2019-09-09 12:02:00 115

#### 转载 (Easy) Repeated String Match - LeetCode

Description:Given two strings A and B, find the minimum number of times A has to be repeated such that B is a substring of it. If no such solution, return -1.For example, with A = "abcd" an...

2019-09-09 10:36:00 75

#### 转载 (Easy) Distance Between Bus Stops - LeetCode

Description:A bushas n stops numbered from 0 to n - 1 that forma circle. We know the distance between all pairs of neighboring stops where distance[i] is the distance between the stops numb...

2019-09-09 09:37:00 118

#### 转载 Flex布局语法教程

2019-09-06 20:39:00 85

#### 转载 (Easy) Partition Array Into Three Parts With Equal Sum - LeetCode

Description:Given an array A of integers, return true if and only if we can partition the array into three non-empty parts with equal sums.Formally, we can partition the array if we can fin...

2019-09-05 17:54:00 86

#### 转载 (Easy) Toeplitz Matrix - LeetCode

Description:A matrix is Toeplitz if every diagonal from top-left to bottom-right has the same element.Now given an M x N matrix, returnTrueif and only if the matrix is Toeplitz.Examp...

2019-09-05 16:40:00 79

#### 转载 (Easy) Sum of Even Numbers After Queries - LeetCode

Description:We have an array A of integers, and an array queriesof queries.For the i-thquery val =queries[i][0], index= queries[i][1], we add valto A[index]. Then, the answer to the i...

2019-09-05 16:08:00 74

#### 转载 (Medium) Teemo Attacking - LeetCode

Description:In LOL world, there is a hero called Teemo and his attacking can make his enemy Ashe be in poisoned condition. Now, given the Teemo's attacking ascending time series towards Ashe ...

2019-09-04 17:29:00 85

#### 转载 (Easy) Maximum Product of Three Numbers - LeetCode

Description:Given an integer array, find three numbers whose product is maximum and output the maximum product.Example 1:Input: [1,2,3]Output: 6Example 2:Input: [1,2,3,4]Outp...

2019-09-04 15:27:00 79

#### 转载 (Easy) Sort Array By Parity II - LeetCode

Description:Given an array Aof non-negative integers, half of the integers in A are odd, and half of the integers are even.Sort the array so that whenever A[i] is odd, i is odd; and whenev...

2019-09-04 15:06:00 78

#### 转载 (Easy) Array Partition I - LeetCode

Description:Given an array of 2n integers, your task is to group these integers into n pairs of integer, say (a1, b1), (a2, b2), ..., (an, bn) which makes sum of min(ai, bi) for all i from 1 ...

2019-09-04 14:49:00 74

#### 转载 (Easy) Most Common Word - LeetCode

Description:Given a paragraphand a list of banned words, return the most frequent word that is not in the list of banned words. It is guaranteed there is at least one word that isn't banned...

2019-09-04 12:13:00 71

#### 转载 (Easy) Number Complement - LeetCode

Description:Given a positive integer, output its complement number. The complement strategy is to flip the bits of its binary representation.Note:The given integer is guaranteed to fi...

2019-09-04 10:42:00 72

#### 转载 (LeetCode) First Unique Character in a String - LeetCode

Description:Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1.Examples:s = "leetcode"return 0.s = "loveleetcode",r...

2019-09-04 10:22:00 63

#### 转载 (LeetCode) Can Place Flowers - LeetCode

Description:Suppose you have a long flowerbed in which some of the plots are planted and some are not. However, flowers cannot be planted in adjacent plots - they would compete for water and bo...

2019-09-03 17:57:00 71

#### 转载 (LeetCode) Best Time to Buy and Sell Stock - LeetCode

Description: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 (i.e., buy one and sell o...

2019-09-03 16:52:00 75

#### 转载 (Medium) Shifting Letters - LeetCode

Description:We have a string S of lowercase letters, and an integer array shifts.Call the shift of a letter, the next letter in the alphabet, (wrapping around so that 'z' becomes 'a').Fo...

2019-09-03 13:56:00 89

#### 转载 Pancake Sorting- Algorithm.

source link: https://www.geeksforgeeks.org/pancake-sorting/Description:Given an unsorted array, sort the given array. You are allowed to do only following operation on array.flip(arr, i):...

2019-09-03 11:13:00 161

#### 转载 (LeetCode) Custom Sort String - LeetCode

Description:S and T are strings composed of lowercase letters. In S, no letter occurs more than once.S was sorted in some custom order previously. We want to permute the characters of T so ...

2019-09-03 09:46:00 68

#### 转载 (Easy) Shortest Completing Word - LeetCode

Description: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 licensePlate...

2019-09-02 18:48:00 73

#### 转载 (Easy) Guess Number Higher or Lower -LeetCode

Description: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 tell you whether the ...

2019-09-02 16:36:00 71

#### 转载 验证销售部门的数据查看权限-脚本demo

1 # coding:utf-8 2 ''' 3 @file: run_old.py 4 @author: jingsheng hong 5 @ide: PyCharm 6 @createTime: 2019年08月20日 17点16分 7 @contactInformation: 727803257@qq.com 8 ''' 9 10 imp...

2019-09-02 16:17:00 84

#### 转载 (Easy) Sort an Array - LeetCode

Description:Given an array of integers nums, sort the array in ascending order.Example 1:Input:[5,2,3,1]Output: [1,2,3,5]Example 2:Input: [5,1,1,2,0,0]Output: [0,0,1,1,2,5]...

2019-09-02 13:33:00 69

#### 转载 (Easy) Reshape the Matrix - LeetCode

Description:In MATLAB, there is a very useful function called 'reshape', which can reshape a matrix into a new one with different size but keep its original data.You're given a matrix repre...

2019-09-02 09:54:00 70

#### 转载 (Easy) Can Make Palindrome - LeetCode Contest (in progress)

Description:Given a strings, we make queries on substrings ofs.For each queryqueries[i] = [left, right, k], we mayrearrangethe substrings[left], ..., s[right], and then chooseup toko...

2019-09-01 12:10:00 80

#### 转载 (Easy) Diet Plan Performance LeetCode Contest

Description:5174.Diet Plan PerformanceMy SubmissionsBack to ContestUser Accepted:0User Tried:0Total Accepted:0Total Submissions:0Difficulty:EasyA dieter ...

2019-09-01 11:22:00 94

#### 转载 (Easy) Reach a Number - LeetCode

Description:You are standing at position0on an infinite number line. There is a goal at positiontarget.On each move, you can either go left or right. During then-th move (starting from 1)...

2019-09-01 09:53:00 77

#### 转载 (Easy) Reverse Vowels of a String - LeetCode

Description:Write a function that takes a string as input and reverse only the vowels of a string.Example 1:Input: "hello"Output: "holle"Example 2:Input: "leetcode"Output: "leot...

2019-08-31 22:22:00 68

###### 空空如也

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

TA关注的人