IamGroot

Blog of Chungen lchungen@qq.com


  • 首页

  • 分类

  • 归档

  • 标签

Leetcode-55 Jump Game

发表于 2020-04-04 | 分类于 Leetcode
Jump Game Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents ...
阅读全文 »

Leetcode-49 Group Anagrams

发表于 2020-04-03 | 分类于 Leetcode
Group Anagrams Given an array of strings, group anagrams together. Note: All inputs will be in lowercase. The order of your output does not matter. ...
阅读全文 »

Leetcode-48 Rotate Image

发表于 2020-04-02 | 分类于 Leetcode
Rotate Image You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Note: You have to rotate the image in ...
阅读全文 »

Leetcode-46 Permutations

发表于 2020-04-01 | 分类于 Leetcode
Permutations Given a collection of distinct integers, return all possible permutations. Example 112345678910Input: [1,2,3]Output:[ [1,2,3], [1,3,2] ...
阅读全文 »

Leetcode-39 Combination Sum

发表于 2020-03-31 | 分类于 Leetcode
Combination Sum Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candi ...
阅读全文 »

Leetcode-15 3Sum

发表于 2020-03-30 | 分类于 Leetcode
3Sum Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives ...
阅读全文 »

Leetcode-33 Search in Rotated Sorted Array

发表于 2020-03-29 | 分类于 Leetcode
Search in Rotated Sorted Array Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (i.e., [0,1,2,4,5,6,7] m ...
阅读全文 »

Leetcode-22 Generate Parentheses

发表于 2020-03-28 | 分类于 Leetcode
Generate Parentheses Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. Example 112345678n=3[ " ...
阅读全文 »

Leetcode-34 Find First and Last Position of Element in Sorted Array

发表于 2020-03-27 | 分类于 Leetcode
Find First and Last Position of Element in Sorted Array Given an array of integers nums sorted in ascending order, find the starting and ending positi ...
阅读全文 »

Leetcode-200 Number of Islands

发表于 2020-03-26 | 分类于 Leetcode
Number of Islands Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water a ...
阅读全文 »
12345
Chungen

Chungen

所谓自由,不是随心所欲,而是自我主宰!

46 日志
10 分类
11 标签
GitHub 博客园 简书 CSDN
© 2018 - 2020 Chungen
人次 次