自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

转载 LC 387. First Unique Character in a String

题目描述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",return 2....

2019-10-02 01:11:00 91

转载 LC 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 them find out theircommon interes...

2019-09-30 22:12:00 97

转载 LC 1. Two Sum

题目介绍Given an array of integers, returnindicesof the two numbers such that they add up to a specific target.You may assume that each input would haveexactlyone solution, and you may not us...

2019-09-30 19:05:00 93

转载 LC 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 sum of th...

2019-09-30 00:07:00 79

转载 LC 349. Intersection of Two Arrays

题目描述Given two arrays, write a function to compute their intersection.Example 1:Input: nums1 = [1,2,2,1], nums2 = [2,2]Output: [2]Example 2:Input: nums1 = [4,9,5], nums2 = [9,4,9,8...

2019-09-29 23:24:00 74

转载 LC 394. Decode String

问题描述Given an encoded string, return its decoded string.The encoding rule is:k[encoded_string], where theencoded_stringinside the square brackets is being repeated exactlyktimes. Note tha...

2019-09-26 00:00:00 117

转载 LC 94. Binary Tree Inorder Traversal

问题描述Given a binary tree, return theinordertraversal of its nodes' values. (左 - 根 - 右)Example:Input: [1,null,2,3] 1 \ 2 / 3Output: [1,3,2]Follow up:Recursive...

2019-09-25 10:19:00 60

转载 LC 494. Target Sum

问题描述You are given a list of non-negative integers, a1, a2, ..., an, and a target, S. Now you have 2 symbols+and-. For each integer, you should choose one from+and-as its new symbol.Fin...

2019-09-23 12:43:00 123

转载 LC 416. Partition Equal Subset Sum

题目Given anon-emptyarray containingonly positive integers, find if the array can be partitioned into two subsets such that the sum of elements in both subsets is equal.Note:Each of the ...

2019-09-22 17:41:00 71

转载 LC 20 Valid Parentheses

问题Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.An input string is valid if:Open brackets must be closed by the sam...

2019-09-18 00:51:00 58

空空如也

空空如也

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

TA关注的人

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