3 李歇特冯·兹拜因巴哈

尚未进行身份认证

NULL

等级
TA的排名 9k+

LeetCode491. Increasing Subsequences

Given an integer array, your task is to find all the different possible increasing subsequences of the given array, and the length of an increasing subsequence should be at least 2.Example:Inp...

2020-03-06 11:45:44

488. Zuma Game

Think about Zuma Game. You have a row of balls on the table, colored red(R), yellow(Y), blue(B), green(G), and white(W). You also have several balls in your hand.Each time, you may choose a ball in ...

2020-03-05 12:21:42

LeetCode487 Max Consecutive Ones II

。。。

2020-03-05 09:19:49

LeetCode486. 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. Each time a player picks a...

2020-03-04 07:53:38

LeetCode485. Max Consecutive Ones

Given a binary array, find the maximum number of consecutive 1s in this array.Example 1:Input: [1,1,0,1,1,1]Output: 3Explanation: The first two digits or the last three digits are consecutive 1...

2020-03-03 10:04:35

LeetCode484 Find Permutation

。。。

2020-03-03 09:22:54

LeetCode483. Smallest Good Base

For an integer n, we call k>=2 agood baseof n, if all digits of n base k are 1.Now given a string representing n, you should return the smallest good base of n in string format.Example 1:I...

2020-03-02 07:45:16

LeetCode482. License Key Formatting

You are given a license key represented as a string S which consists only alphanumeric character and dashes. The string is separated into N+1 groups by N dashes.Given a number K, we would want to re...

2020-03-01 08:45:16

LeetCode481. Magical String

A magical stringSconsists of only '1' and '2' and obeys the following rules:The stringSis magical because concatenating the number of contiguous occurrences of characters '1' and '2' generates t...

2020-02-29 11:18:59

LeetCode480. Sliding Window Median

Median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value. So the median is the mean of the two middle value.Examples:[2,3,4], the median is...

2020-02-28 11:32:42

LeetCode479 Largest Palindrome Product

Find the largest palindrome made from the product of two n-digit numbers.Since the result could be very large, you should return the largest palindrome mod 1337.Example:Input: 2Output: 987...

2020-02-26 08:24:49

LeetCode478. Generate Random Point in a Circle

Given the radius and x-y positions of the center of a circle, write a functionrandPointwhichgenerates a uniform randompoint in the circle.Note:input and output values areinfloating-point. r...

2020-01-18 09:16:00

LeetCode477. Total Hamming Distance

TheHamming distancebetween two integers is the number of positions at which the corresponding bits are different.Now your job is to find the total Hamming distance between all pairs of the given n...

2020-01-17 10:20:08

LeetCode476. Number Complement

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 fit within the range of a 3...

2020-01-16 09:10:10

LeetCode475. Heaters

Winter is coming! Your first job during the contest is to design a standard heater with fixed warm radius to warm all the houses.Now, you are given positions of houses and heaters on a horizontal li...

2020-01-15 10:37:59

LeetCode474. Ones and Zeroes

In the computer world, use restricted resource you have to generate maximum benefit is what we always want to pursue.For now, suppose you are a dominator ofm0sandn1srespectively. On the other ...

2020-01-14 08:53:02

LeetCode473. Matchsticks to Square

Remember the story of Little Match Girl? By now, you know exactly what matchsticks the little match girl has, please find out a way you can make one square by using up all those matchsticks. You shoul...

2020-01-11 10:48:22

LeetCode469 Convex Polygon

。。。

2020-01-09 14:58:26

LeetCode472. Concatenated Words

Given a list of words (without duplicates), please write a program that returns all concatenated words in the given list of words.A concatenated word is defined as a string that is comprised entirel...

2020-01-09 14:55:51

LeetCode471 Encode String with Shortest Length

。。。

2020-01-09 14:05:38

查看更多

勋章 我的勋章
  • 专栏达人
    专栏达人
    授予成功创建个人博客专栏的用户。专栏中添加五篇以上博文即可点亮!撰写博客专栏浓缩技术精华,专栏达人就是你!
  • 持之以恒
    持之以恒
    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!
  • 勤写标兵Lv4
    勤写标兵Lv4
    授予每个自然周发布9篇以上(包括9篇)原创IT博文的用户。本勋章将于次周周三上午根据用户上周的博文发布情况由系统自动颁发。