Feiyang's Blogs


  • Home

  • About

  • Tags

  • Categories

  • Archives

  • Search

LeetCode 171. Excel Sheet Column Number

Posted on 2020-08-11 | In Leetcode
Words count in article: 120 | Reading time ≈ 1
题目Given a column title as appear in an Excel sheet, return its corresponding column number. For example: 12345678A -> 1B -> 2C -> 3...Z -> ...
Read more »

LeetCode 994. Rotting Oranges

Posted on 2020-08-09 | In Leetcode
Words count in article: 279 | Reading time ≈ 1
题目In a given grid, each cell can have one of three values: the value 0 representing an empty cell; the value 1 representing a fresh orange; the value ...
Read more »

LeetCode 437. Path Sum III

Posted on 2020-08-08 | In Leetcode
Words count in article: 224 | Reading time ≈ 1
题目You are given a binary tree in which each node contains an integer value. Find the number of paths that sum to a given value. The path does not need ...
Read more »

LeetCode 987. Vertical Order Traversal of a Binary Tree

Posted on 2020-08-07 | In Leetcode
Words count in article: 424 | Reading time ≈ 2
题目Given a binary tree, return the vertical order traversal of its nodes values. For each node at position (X, Y), its left and right children respecti ...
Read more »

LeetCode 442. Find All Duplicates in an Array

Posted on 2020-08-06 | In Leetcode
Words count in article: 106 | Reading time ≈ 1
题目Given an array of integers, 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements that appear t ...
Read more »

LeetCode 211. Add and Search Word - Data structure design

Posted on 2020-08-06 | In Leetcode
Words count in article: 265 | Reading time ≈ 1
题目Design a data structure that supports the following two operations: 12void addWord(word)bool search(word) search(word) can search a literal word or ...
Read more »

LeetCode 342. Power of Four

Posted on 2020-08-04 | In Leetcode
Words count in article: 183 | Reading time ≈ 1
题目Given an integer (signed 32 bits), write a function to check whether it is a power of 4. Example 1: 12Input: 16Output: true Example 2: 12Input: 5Ou ...
Read more »

LeetCode 125. Valid Palindrome

Posted on 2020-08-03 | In Leetcode
Words count in article: 101 | Reading time ≈ 1
题目Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. Note: For the purpose of this problem, ...
Read more »

LeetCode 705. Design HashSet

Posted on 2020-08-02 | In Leetcode
Words count in article: 264 | Reading time ≈ 1
题目Design a HashSet without using any built-in hash table libraries. To be specific, your design should include these functions: add(value): Insert a ...
Read more »

LeetCode 520. Detect Capital

Posted on 2020-08-02 | In Leetcode
Words count in article: 159 | Reading time ≈ 1
题目Given a word, you need to judge whether the usage of capitals in it is right or not. We define the usage of capitals in a word to be right when one ...
Read more »
1234…17
Feiyang Chen

Feiyang Chen

170 posts
7 categories
16 tags
RSS
GitHub E-Mail
Friends' Links
  • asdfv1929's Home
© 2020 Feiyang Chen | Site words total count: 92.1k